Merge pull request #2165 from DJCordhose/patch-1

Update 09.5-clone-with-props.md
This commit is contained in:
Paul O’Shannessy
2014-09-09 09:41:51 -07:00
+1
View File
@@ -18,3 +18,4 @@ Do a shallow copy of `component` and merge any props provided by `extraProps`. P
> ```js
> var clonedComponent = cloneWithProps(originalComponent, { key : originalComponent.props.key });
> ```
> `ref` is another prop that is not preserved either.