dillon1000/react
Commit
Browse files Add additional field for ART reconciler
ART, just like MultiChild adds an expando property to manage it's diffing state. This is ugly and bad. We should be moving this state outside the component for use by the diffing algorithm. This state is not needed by components nested in composites, and varies by diffing algorithm. It sucks that I have to add it to every component just to support ART, but that's the quickest solution, other than disabling preventExtensions. At least now we know that it sucks.
Changed paths1 file
First-parent comparisonsrc/core/ReactComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…