dillon1000/react

Commit

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.
Browse files
Changed paths2 files
First-parent comparison
M src/isomorphic/children/ReactChildren.js ModifiedM src/isomorphic/children/__tests__/ReactChildren-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…