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
In this case babel uses _interopRequireWildcard which is using for..in to make a copy of module exports. This cause to warning when React 15.5+ is using:
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
Because with React 15.5, importing PropTypes from React is deprecated in favour of importing from the new 'prop-types' package.
The text was updated successfully, but these errors were encountered:
With commit 73d6052 some import were changed to:
In this case babel uses
_interopRequireWildcard
which is usingfor..in
to make a copy of module exports. This cause to warning when React 15.5+ is using:Because with React 15.5, importing PropTypes from React is deprecated in favour of importing from the new 'prop-types' package.
The text was updated successfully, but these errors were encountered: