dillon1000/react
Commit
Browse files ReactChildren.map: only add slash if new child has key
See the new test for the scenario I am trying to fix; if you clone an element in React.cloneElement, vs just returning it directly, you will get a different key (with a slash in front) even though the two children are identical.
Changed paths2 files
First-parent comparisonsrc/isomorphic/children/ReactChildren.js ModifiedM src/isomorphic/children/__tests__/ReactChildren-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…