curriculum
curriculum copied to clipboard
add note that asks to use React version < 19 for type checking
Because
defaultProps and PropTypes are deprecated from React version 19.
This PR
- The note asks the readers to use React version lesser than 19 to make the type checking with PropTypes and defaultProps compatible.
- The note also states the changes to be made in package.json file to install React version < 19.
Issue
Closes #29510
Pull Request Requirements
- [x] I have thoroughly read and understand The Odin Project curriculum contributing guide
- [x] The title of this PR follows the
location of change: brief description of changeformat, e.g.Intro to HTML and CSS lesson: Fix link text - [x] The
Becausesection summarizes the reason for this PR - [x] The
This PRsection has a bullet point list describing the changes in this PR - [x] If this PR addresses an open issue, it is linked in the
Issuesection - [x] If any lesson files are included in this PR, they have been previewed with the Markdown preview tool to ensure it is formatted correctly
- [x] If any lesson files are included in this PR, they follow the Layout Style Guide
@MaoShizhong Thank you for suggesting the changes to be made. That makes it more clear and simpler. I will commit and push the changes soon.