Who has an example (actual code) where "unnecessary rerenders" are a problem? People often bring up this concern to me and I've yet to see a situation where the unnecessary rerendering was the real problem...
That's the worst kind of problem to have. A while ago I had a tabbed interface that changed a page of widgets, and the costly thing was mounting a new page of 10+ widgets because it destroyed all of the previous widgets and remounted completely new ones.
-
-
The widgets were probably reusable to an extent - they were visually very similar. I'm not sure what you're meant to do in this kind of situation.
-
Would setting unique keys have helped with this?
- 13 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.