The Call Kent Podcast
The Call Kent Podcast
Kent C. Dodds
Why is forwardRef required to limit re-renders?
7 minutes Posted Oct 18, 2021 at 10:13 pm.
0:00
7:24
Download MP3
Show notes

In the "Fix perf death by a thousand cuts" exercise in the Epic React Performance workshop, extra credit 3 "write an HOC to get a slice of app state": why is forwarding the ref in the HOC required to actually prevent all the Cells from re-rendering?