dillon1000/react

Commit

Update cloneWithProps documentation

Updated documentation to reflect that using React.cloneElement is the new way to copy an element and preserve `key` and `ref`.

Fixes #3432, closes #3447.
Browse files
Changed paths2 files
First-parent comparison
M docs/_data/nav_docs.yml ModifiedM docs/docs/10.5-clone-with-props.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…