-
Notifications
You must be signed in to change notification settings - Fork 65
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 react-redux 6 with reduxContext option #125
Support react-redux 6 with reduxContext option #125
Conversation
👋 thanks for the PR! |
@ryanashcraft when merged when will this hit npm? Thanks in advance! :) |
@preactive Yes we'll ship this to npm when we get the chance to review and test. ETA sometime this week. |
Awesome sauce! thanks @ryanashcraft! |
Hey @philip-peterson, Thanks for the PR! Sorry it's taken us a bit of time to review it. After taking a look there are a couple of changes we'd like to propose/discuss.
Let us know what you think. And if you don't have time to work on this anymore we'd be happy to pick it up from where you left it. |
Hey Amplitude peeps, Those sound like reasonable changes. Only thing is to be wary of is people using this library on older installations of react-redux who may start asking for backports to bugfixes. Personally I'm not in that situation but we were only just recently able to upgrade our react-redux version, and React 15 obviously doesn't have the new context API. Likely won't have a whole lot of bandwidth these coming weeks (things are pretty busy), so it would be best if y'all could pick this up. Thanks <3 |
Yep, that's a good point. We're not currently planning any other major changes so hopefully this won't come up. If it does then we can always consider adding back backwards compatibility. |
Hey @philip-peterson, Sorry that I didn't get to this sooner. I spent a bit of time this weekend working on the first stage of our proposed changes - making redux-query depend on the default Unfortunately I haven't been able to get that figured out. Given the current state of react-redux (reduxjs/react-redux#1177) I don't think I'm going to invest any more time in attempting this upgrade. @preactive if you need support for react-redux 6 right now I'd suggest using @philip-peterson's branch for now. When the "fixed" react-redux 6, or react-redux 7 comes out we'll revisit this. |
@ManThursday Thanks for the update and info! |
you shouldtry this https://github.com/salvoravida/react-redux-fork 6.5.0 reading from <ReactReduxContext.Consumer > is very slow. |
react-redux 7 is now out |
Closing this in favor of #129. Thanks again @philip-peterson for the initial implementation. |
Hey Ryan. This PR should resolve issue #124.