curriculum
curriculum copied to clipboard
React: Update lesson to remove `defaultProps`
Checks
- [X] This is not a duplicate of an existing issue (please have a look through our open issues list to make sure)
- [X] I have thoroughly read and understand The Odin Project Contributing Guide
- [X] Would you like to work on this issue?
Describe your suggestion
React has announced that support for defaultProps
in function components will be deprecated in a future major release. We should update the lesson Passing Data Between Components to reflect the upcoming deprecation of defaultProps
.
Path
Node / JS
Lesson Url
https://www.theodinproject.com/lessons/node-path-react-new-passing-data-between-components
(Optional) Discord Name
headlessNode
(Optional) Additional Comments
No response