You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, I encountered problems with how PropTypes are used by this library. It would be really nice if they could be updated, since everyone I know who uses this library (including me) had to update it manually after using npm install.
The text was updated successfully, but these errors were encountered:
mstelte
changed the title
PropTypes aren't pdated for React v16
PropTypes aren't updated for React v16
Dec 6, 2017
Hi guys just 2 things to solve it:
First, go to node_modules/react-accelerometer/dist/react-accelerometer.module.js
and add import PropTypes from 'prop-types';
Second delete "React." from all "React.PropTypes"
As the title says, I encountered problems with how PropTypes are used by this library. It would be really nice if they could be updated, since everyone I know who uses this library (including me) had to update it manually after using npm install.
The text was updated successfully, but these errors were encountered: