dillon1000/react
Commit
Browse files [React Children] Step Two: Use `traverseChildren` to perform `mapChildren`
Use the new `traverseChildren` utility to perform `mapChildren`. The goal is to get as close to the bavior of the semantics of `Array.prototype.map`, but also in a way that understands deeply nested arrays and objects.
Changed paths4 files
First-parent comparisonsrc/utils/__tests__/mapAllChildren-test.js AddedD src/utils/__tests__/mapChildren-test.js DeletedA src/utils/mapAllChildren.js AddedD src/utils/mapChildren.js DeletedPatch
Files changed
Rendering syntax-highlighted changes…