dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/core/ReactComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…