Contra - A professional network for the jobs and skills of the futureMost devs blame React when their UI feels sluggish. But 90% of performance issues come from unnec...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Most devs blame React when their UI feels sluggish. But 90% of performance issues come from unnecessary re-renders, not React itself.
Here are the actual culprits:
1) Storing everything in global state (even UI flags). 2) Passing newly created objects/functions every render. 3) Rendering massive lists without virtualization. 4) Fetching + rendering before caching.
Here’s what instantly speeds up most React apps:
1) Use local state as much as possible. 2) Wrap expensive components with React.memo(). 3) Use useCallback / useMemo only for stable references. 4) Virtualize long lists (React Window / Virtuoso). 5) Cache data with TanStack Query instead of manual fetches.
Frontend performance is simply: Render less. Re-render even less.
What’s the biggest performance bottleneck you’ve faced recently? 👇
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started