How Inline Functions Kill Performance in ReactMost of us write them daily: <button onClick={() => handleClick(id)}>Click</button> But in a real app, this pattern quietly destroys performance. This post explains: Why inline functions cause unnecessary re-renders ? When they actually matter ? ...Jan 24 · 2 min readbharatdussa.hashnode.dev
When useCallback Made My App Slower (Yes, Really)Many developers believe: “Using useCallback = better performance” That assumption slowed down our app in production. This post explains: What we did wrong Why useCallback backfired How to use it correctly (without cargo-culting) The Context We...Jan 23 · 2 min readbharatdussa.hashnode.dev
Why React Native Apps Crash or Freeze on Cold StartCold start issues are one of the hardest problems in React Native: App launches White screen or frozen UI No crash logs Works fine after reopening This is a startup-time problem, not a random bug. What We Observed On low-end devices: App launc...Oct 31, 2025 · 4 min readbharatdussa.hashnode.dev
Debugging a Memory Leak in React (A Real Production Example)Memory leaks in React are dangerous because: The app doesn’t crash immediately Performance degrades slowly Users complain after hours of usage That’s exactly what happened to us. The Symptom After keeping the app open for a long time: Scrolling...Apr 30, 2025 · 2 min readbharatdussa.hashnode.dev
Why My React Component Re-Rendered 20 Times (And How I Fixed It)Re-renders in React are normal. Unnecessary re-renders are not. In one of our production features, a simple screen was re-rendering 20+ times on a single user action.No visible lag on high-end devices but low-end devices were struggling. This post ex...Dec 31, 2024 · 2 min readbharatdussa.hashnode.dev