Skip to content

Commit 4f7ec3f

Browse files
committed
In React, children are just props
1 parent d928ad8 commit 4f7ec3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

anti-patterns/07.spreading-props-dom.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ const Spread = (props) => (<div {...props.domProps}>Test</div>);
1616

1717
### Related links:
1818
- [React Design Patterns and best practices by Michele Bertoli.](https://github.com/MicheleBertoli/react-design-patterns-and-best-practices)
19+
- [In React, children are just props: Kent C. Dodds' Tweet](https://twitter.com/kentcdodds/status/851406788549369856)

0 commit comments

Comments
 (0)