dillon1000/react

Commit

Assign the same keys if it's a single nested array or not

If you specify a single array, we didn't prefix the keys with 0.

If you later add children, the first array won't have the same key.
Browse files
Changed paths3 files
First-parent comparison
M src/core/ReactComponent.js ModifiedM src/core/__tests__/ReactIdentity-test.js ModifiedM src/utils/__tests__/mapChildren-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…