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

Update react api usage to react 16 strict mode compatible #98

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

Conversation

byronanderson
Copy link

@byronanderson byronanderson commented Apr 1, 2019

This should be a new major version number since it requires a new version of react - I believe it just needs to be >=16.3 at this point, because it requires React.createContext().

(I don't have any experience trying to maintain compatibility with both types of context at the same time, unfortunately)

See the reasoning behind these changes here

Also please note that there are two lint errors on this PR, but I don't know anything about JSDoc to know how to fix them.

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