PLAY PODCASTS
Why is forwardRef required to limit re-renders?
Season 1 · Episode 25

Why is forwardRef required to limit re-renders?

Agata asked this on 2021-10-16

The Call Kent Podcast

October 18, 20217m 24s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

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?

Topics

EpicReactPerformanceHOCforwardRef