3 ms·
nit: new component instance (not element)
by dounan 9y ago
nit: new component instance (not element)
- evan_ 9y agoI think we're both right- I believe it will create a new element and a new DOM element, rather than mutating the existing ones.
- dounan 9y agoYou're right. I misinterpreted your first comment to refer be referring to React elements, which is quite different from DOM elements https://facebook.github.io/react/blog/2015/12/18/react-components-elements-and-instances.html#elements-describe-the-tree https://facebook.github.io/react/blog/2015/12/18/react-compo...