Re:Optimizing React Rendering
by dounan on Thursday May 25, 2017 @05:22PM
(#14420241)
> Correct me if I'm missing anything!
You're not missing anything :) That approach also works.
The important point is that you have to pass the extra index prop down to the child to avoid the bind in render.
You're not missing anything :) That approach also works. The important point is that you have to pass the extra index prop down to the child to avoid the bind in render.