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

Remove create-react-context and bump React peer dependency #252

Merged
merged 8 commits into from
Jun 3, 2019

Conversation

kitten
Copy link
Member

@kitten kitten commented Jun 3, 2019

It's probably been a mistake to include create-react-context and support non-hook implementations in practice. This will basically get rid of most of the maintenance burden we have right now, since we won't have to maintain two APIs for each hook/component.

Fix #213

src/components/Mutation.ts Show resolved Hide resolved
src/components/Query.ts Show resolved Hide resolved
Copy link
Contributor

@parkerziegler parkerziegler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looking good to me! One suggestion about generics ordering, but otherwise this is a very welcome change. Glad to see us getting off create-react-context!

@kitten kitten merged commit 1d278ca into master Jun 3, 2019
@kitten kitten deleted the feat/drop-react-15-compat branch June 3, 2019 23:10
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.

Generics support for Component
3 participants