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

Support for react@17 #258

Open
fabiovalse opened this issue Mar 29, 2022 · 1 comment
Open

Support for react@17 #258

fabiovalse opened this issue Mar 29, 2022 · 1 comment

Comments

@fabiovalse
Copy link

fabiovalse commented Mar 29, 2022

I'm trying to upgrade my app to the latest react version and I noticed that react-refetch works only with:

peer react@"^0.14.0 || ^15.0.0-0 || ^16.0.0-0"

Is there a way to use it with react 17?

@ryanbrainard
Copy link
Contributor

This is completely untested, but here's theoretically what should be done:

https://github.com/heroku/react-refetch/compare/rb/react-17-and-18

Feel free to try it out on that branch. It really should be validated with what's changed in React 17 and 18, but it is possible it will just work. If anyone has some cycles to do that testing and PR, it would be welcome.

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

No branches or pull requests

2 participants