Skip to content

Conversation

jonsmithers
Copy link

React will print these warnings when you use unstated inside strict mode.

Screenshot from 2019-09-12 21-21-05

Removing the createReactContext() polyfill seems to fix the issue.

React will print warnings when you use unstated inside strict mode.
These warnings are as follows:

> Warning: Legacy context API has been detected within a strict-mode tree:
>   ...
>
> Please update the following components: Consumer, Provider
>
> Learn more about this warning here:
> https://fb.me/react-legacy-context

> Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
>   ...
> Please update the following components: Provider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant