dillon1000/react
Commit
Browse files Update inaccurate mapChildren comment (#18931)
The function you provide will only be passed a child and an index. It will not be passed a key. This is confirmed in the source, the Flow types, and the jsdoc comments.
Changed paths1 file
First-parent comparisonpackages/react/src/ReactChildren.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…