dillon1000/react
Commit
Browse files 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.
Changed paths4 files
First-parent comparisonsrc/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…