Skip to content

Commit 00c178f

Browse files
committed
Merge pull request facebook#2165 from DJCordhose/patch-1
Update 09.5-clone-with-props.md
1 parent fbb6e0c commit 00c178f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/docs/09.5-clone-with-props.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ Do a shallow copy of `component` and merge any props provided by `extraProps`. P
1818
> ```js
1919
> var clonedComponent = cloneWithProps(originalComponent, { key : originalComponent.props.key });
2020
> ```
21+
> `ref` is another prop that is not preserved either.

0 commit comments

Comments
 (0)