Skip to content

proptypes validation failded #26

Description

@iita71737

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions