dillon1000/react
Commit
Browse files Make React.Children.map do one pass only
Changed: createFragment no longer includes nulls in its output (since toArray doesn't and they share code). Changed: React.Children.map no longer warns for clashing keys; traverseAllChildren will later when rendering. Also change the generated key format around to accomodate. My keys are probably not bulletproof but should definitely be safe against accidental collisions.
Changed paths4 files
First-parent comparisonsrc/addons/ReactFragment.js ModifiedM src/isomorphic/children/ReactChildren.js ModifiedM src/isomorphic/children/__tests__/ReactChildren-test.js ModifiedM src/shared/utils/__tests__/traverseAllChildren-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…