TSTarun Sharmain101beardo.hashnode.dev·2d ago · 4 min readTesting a component that uses WebSockets, without a real serverA component that talks to a REST API is easy to test. You mock the HTTP call, resolve it with fixture data, assert on the render. A component that talks to a WebSocket is a different animal, and most 00
BKBOBBY KUMARinthe-engineers-notebook.hashnode.dev·6d ago · 9 min readWhen Personalization Meets the EdgeA modern application might need to show different experiences to different users. The same URL could display developer-focused content for one user, business-focused content for another, or different 00
TSTarun Sharmain101beardo.hashnode.dev·Sep 9 · 3 min readWhy does React call your component function twice in development?If you have added a console.log at the top of a component in a fresh Create React App or Next.js project, you have probably noticed it fires twice on the first render. Nothing is broken. This is Stric00
BKBOBBY KUMARinthe-engineers-notebook.hashnode.dev·Sep 5 · 10 min readCaching: It Isn't Just a Performance ProblemWhen an application gets slower, one of the first solutions we think about is - "Let’s cache it." And often, that’s the right answer. Instead of doing the same expensive work for every request, we can00
CIChiagoziem Ikeurulorinbass111.hashnode.dev·Sep 1 · 9 min readMastering Class Variance Authority (CVA) in ReactThis article explains what Class Variance Authority (CVA) is and how to use it with Tailwind CSS in React applications. Prerequisites: A basic understanding of React, JavaScript/TypeScript, and Tailwi00
AJazi janinazijanhashnodedev.hashnode.dev·Sep 1 · 2 min readBuilding a Production-Ready Multi-Tenant ERP & POS SaaS Starter Kit with React 19 and SupabaseBuilding enterprise-grade SaaS systems from scratch takes weeks of repetitive architecture work: configuring multi-tenancy, securing database row-level security (RLS), setting up real-time inventory t00
BKBOBBY KUMARinthe-engineers-notebook.hashnode.dev·Aug 29 · 7 min readThe Journey of a Request in a Next.js ApplicationWhen we build a frontend feature, we often think about what happens after the page reaches the browser. We think about components. Page ├── Header ├── ProductList ├── ProductCard └── Footer But w00
SAShahbaz Ahmedinfundamentalsofreact.hashnode.dev·Aug 27 · 11 min readHow React Works InternallyA mental-model-first guide to what actually happens between calling setState and pixels changing on your screen. Why React Needed a New Rendering Approach? The Problem With Direct DOM Manipulation: 00
SAShahbaz Ahmedinfundamentalsofreact.hashnode.dev·Aug 27 · 24 min readReact Fundamentals: Components, JSX, State, and Re-renderingWhy React Exists? Let's start with a question. Why did developers create React when JavaScript already existed? Good question right? It's worth separating "JavaScript" (the language) from "how people 00
JSJayesh Sojitrainjayesh-sojitra.hashnode.dev·Aug 26 · 3 min read5 Custom Hooks That Will Clean Up Your CodebaseCustom hooks are the most underused feature in most React codebases. They're just functions that use other hooks — but that simple idea lets you extract repeated logic into something reusable, testabl00