We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
書籍版初版 p.18
上から2つ目のスニペットで、defaultPropsと定義すべきところがpropTypesとなっています。
defaultProps
propTypes
class Pokemon extends Component { static propTypes = { name: 'Pikachu', level: 5, type: ['Electric'], }; }
class Pokemon extends Component { static defaultProps = { name: 'Pikachu', level: 5, type: ['Electric'], }; }
The text was updated successfully, but these errors were encountered:
Boothで頒布中の電子版(pdf)もまだ未修正です。こちらは後ほど修正して差し替えます。
Sorry, something went wrong.
No branches or pull requests
書籍版初版 p.18
上から2つ目のスニペットで、
defaultProps
と定義すべきところがpropTypes
となっています。誤
正
The text was updated successfully, but these errors were encountered: