dillon1000/react

Commit

Add key warning to nested collections

Also when reusing elements in multiple contexts -- before we were mutating each element to indicate its validity; now we mutate the array containing it (which we create, in the case of rest-arg children).

Fixes #2496. Fixes #3348.
Browse files
Changed paths4 files
First-parent comparison
M src/addons/__tests__/ReactFragment-test.js ModifiedM src/classic/element/ReactElement.js ModifiedM src/classic/element/ReactElementValidator.js ModifiedM src/classic/element/__tests__/ReactElementValidator-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…