3 ms·
Slightly OT, but why are you calling unmountComponentAtNode before render? That seems like a bad idea. ReactDOM.render will update in-place, rather than teari
by bsimpson 11y ago
Slightly OT, but why are you calling unmountComponentAtNode before render? That seems like a bad idea. ReactDOM.render will update in-place, rather than tearing the whole thing down and instantiating new versions of everything.
https://facebook.github.io/react/docs/top-level-api.html#reactdom.render https://facebook.github.io/react/docs/top-level-api.html#rea...