Skip to content

Conversation

@afrith
Copy link

@afrith afrith commented Sep 24, 2019

Replaces the legacy/experimental context API with the new context API released in React 16.3.
See https://reactjs.org/docs/context.html

@afrith afrith changed the title Upgrade to new Context APi Upgrade to new Context API Sep 24, 2019
@Chris927
Copy link
Contributor

Thanks, I'll look into this soonest.

Adding this, we loose compatibility with older versions of React, though. This probably means I should add this to a new minor (or even major) release.

@afrith
Copy link
Author

afrith commented Sep 25, 2019

I agree a new release would make sense. Perhaps a new major release including both this change and the new hook from #7?

There is also a polyfill for older versions of React but I'm not quite sure how one would make it work.

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.

2 participants