Skip to content
New issue

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

proptypes validation failded #26

Open
iita71737 opened this issue May 20, 2019 · 0 comments
Open

proptypes validation failded #26

iita71737 opened this issue May 20, 2019 · 0 comments

Comments

@iita71737
Copy link

你好~目前剛學習reactjs,對於debug不是那麼熟練,
目前到此章節有卡關,查了原因似乎是因為react有更新調整,
將防呆機制另外搬遷為個別package做使用的樣子,
但我參考官網手冊在有用到資料驗證的TodoItem.js & TodoHeader.js開頭加入
import PropTypes from 'prop-types'; // ES6
依然在live-server上顯示失敗,
請問可否請教相關建議或解決方式?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant