Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using unstated inside React.StrictMode causes warnings #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 13, 2019

  1. Remove createReactContext polyfill

    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
    Jon Smithers authored and jonsmithers committed Sep 13, 2019
    Configuration menu
    Copy the full SHA
    2e1e57d View commit details
    Browse the repository at this point in the history