Kent C. Dodds:
If you’re experiencing React performance issues, try this:
- “Lift” the expensive component to a parent where it will be rendered less often.
- Then pass the expensive component down as a prop.
You may find doing so solves your performance problem without needing to spread
React.memoall over you codebase like a giant intrusive band-aid 🤕😉
Leave a comment