dillon1000/react
Commit
Browse files Don't thread index through traverseAllChildren
I'm not super attached to this, but this feels cleaner to me. Might even be faster since flattenChildren doesn't use the index. Probably no change though.
Changed paths3 files
First-parent comparisonsrc/utils/ReactChildren.js ModifiedM src/utils/__tests__/traverseAllChildren-test.js ModifiedM src/utils/traverseAllChildren.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…