You are here: Home / Topics / Page / 2

How to create Idempotent in your code?

Filed under: Solid System Design on 2026-01-02 10:24:20
Great — this is the right moment to learn idempotency, because it is one of the pillars of “code that doesn’t break”.I’ll explain it in three layers:Theory (mental model)Database-level design (most important)Spring Boot practical patternsNo shortcuts, no magic — just solid engineering.1

What do you mean by method can be called twice?

Filed under: Solid System Design on 2026-01-02 10:23:21
This is a very important question.Most production bugs exist because developers don’t truly understand this.Let’s break it down slowly, clearly, and with real-world examples.1️⃣ What “Method Can Be Called Twice” REALLY MeansIt does NOT mean:You wrote method() twice in code ❌It DOES mea

Chapter 12: Advanced Topics

Filed under: React JS Tutorial on 2025-11-27 07:43:35
Introduction to Advanced Topics In this chapter, we'll cover some advanced topics in React, including:- Higher-Order Components (HOCs)- Render Props- Context API with Hooks- Server-Side Rendering (SSR)- Code SplittingHigher-Order Components (HOCs) A Higher-Order Component is a function tha

Chapter 11: Redux

Filed under: React JS Tutorial on 2025-11-27 07:39:35
Introduction to Redux Redux is a state management library for JavaScript applications. It helps you manage global state by providing a single source of truth for state and a predictable, scalable way to update state.Core Concepts Redux has three core concepts:1. Store: The store is the cen

Chapter 10: React Router

Filed under: React JS Tutorial on 2025-11-21 08:20:24
Introduction to React Router React Router is a popular library for managing client-side routing in React applications. It allows you to define routes for your application and navigate between them.Installing React Router To install React Router, run the following command in your terminal:n

Chapter 9: Context API

Filed under: React JS Tutorial on 2025-11-21 08:16:36
Introduction to Context API The Context API is a way to share data between components in a React application without passing props down manually. It provides a way to share values between components without having to explicitly pass them down through props.Creating a Context To create a co