Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Warning: Accessing PropTypes via the main React package is deprecated #2

Open
devboell opened this issue Mar 4, 2018 · 1 comment

Comments

@devboell
Copy link

devboell commented Mar 4, 2018

Hi there!

I installed redux-mock-provider today, and got this warning:

console.warn node_modules/redux-mock-provider/node_modules/react/lib/lowPriorityWarning.js:38
      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

I see this was fixed with pull request #1, but did you publish a new release on npm?

@alflennik
Copy link

The package is now broken and it looks like this is the reason.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants