How to Stop Unnecessary Re-renders of Child Components with React memo
A child that re-renders whenever its parent re-renders stops re-rendering while its props stay the same, once it is w ...
How to Prevent Input Lag from a Heavy List with React’s useDeferredValue
When you re-render a heavy list on every keystroke, the characters you type don’t appear until the list finishe ...
Splitting React Context to Reduce Unnecessary Re-renders
If you put everything in one Context, every component that reads it re-renders whenever any single value in it change ...
Measuring React Render Time with the Profiler Component
Wrapping part of a React tree in calls onRender each time that part finishes rendering, and gives you the time it too ...
