SamClayton / coriolis

Coriolis Shipyard for Elite Dangerous
https://coriolis.io
Other
0 stars 0 forks source link

Direct PropTypes access (deprecated. unavailable in React 16) #1

Open SamClayton opened 3 years ago

SamClayton commented 3 years ago

Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs

./src/app/components/VerticalBarChart.jsx @ VerticalBarChart.jsx:21
__webpack_require__ @ bootstrap:789
fn @ bootstrap:100
./src/app/components/Defence.jsx @ Defence.jsx:6
__webpack_require__ @ bootstrap:789
fn @ bootstrap:100
./src/app/components/OutfittingSubpages.jsx @ OutfittingSubpages.jsx:12
__webpack_require__ @ bootstrap:789
fn @ bootstrap:100
./src/app/pages/OutfittingPage.jsx @ OutfittingPage.jsx:35

see also https://github.com/reactjs/react-codemod#react-proptypes-to-prop-types