以下のコードで
・・・ ・・・ import Typeahead from 'react-bootstrap-typeahead' class SearchInclementForm extends React.Component { ・・・
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
Warning: Portal: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.
というエラーが出るということは、インストールしたreact-bootstrap-typeaheadをes6に変換しないといけないのですか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。