Skip to main content
btheo.com btheo.com > press start to play
NEW POST: NODE.JS SECURITY 2025 OPEN FOR FREELANCE 10+ YEARS EXP REACT × NODE × AWS NEW POST: NODE.JS SECURITY 2025 OPEN FOR FREELANCE 10+ YEARS EXP REACT × NODE × AWS
TIL · 08 JAN 2025 · NOTE #004 ESC
TIL NOTE #004

React Performance Tip

Unnecessary renders slow down React apps.

Use React.memo for functional components that receive the same props frequently.
Use useCallback to avoid function re-creation inside components.
Use useMemo for expensive calculations that shouldn’t run on every render.

React’s virtual DOM is fast, but it doesn’t mean every render is free.