SGSiddhant Gorteintechwithsiddhant.hashnode.dev·Aug 31 · 19 min readReact Hooks Masterclass: useState, useEffect, and Custom HooksHow does React remember information between renders? Consider a simple counter: function Counter() { const [count, setCount] = useState(0); return ( <button onClick={() => setCount(count + 1)00
SGSiddhant Gorteintechwithsiddhant.hashnode.dev·Aug 31 · 17 min readHow React Works Internally: Virtual DOM, Reconciliation, and RenderingWhat actually happens when we call setState in React? We write something as simple as: setCount(count + 1); And somehow, React figures out what changed, updates the right part of the page, and the br00
SGSiddhant Gorteintechwithsiddhant.hashnode.dev·Aug 31 · 18 min readRealtime Systems: Polling, WebSockets, SSE, and Pub/SubHow does WhatsApp deliver a message almost instantly? You send a message to a friend. A moment later, their phone shows a notification. You open a live sports application, and the score changes withou00
SGSiddhant Gorteintechwithsiddhant.hashnode.dev·Aug 31 · 19 min readBuilding Scalable Systems: Caching, Rate Limiting and ObservabilityWhat happens when your application suddenly gets 1 million users? Maybe everything works perfectly when you have 100 users. Then your application becomes popular. Suddenly: 100 users ↓ 1,000 users 00
SGSiddhant Gorteintechwithsiddhant.hashnode.dev·Aug 31 · 16 min readKafka Explained Like You're 5: Events, Partitions, and Consumer GroupsHow does a large application process millions of events every day? Think about a food delivery application. Every minute, thousands of things happen: User places an order Restaurant accepts the order 00