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

Compatibility with redux #114

Closed
jdkanani opened this issue Sep 15, 2016 · 2 comments
Closed

Compatibility with redux #114

jdkanani opened this issue Sep 15, 2016 · 2 comments
Labels

Comments

@jdkanani
Copy link

jdkanani commented Sep 15, 2016

No sure if this is right way to go ahead but any support for redux + firebase would be great. Currently reactfire starts listening in component. Redux will change it.

After redux, every component will dispatch an action (to subscribe/unsubscribe) to firebase and get notified when store changes. That way many components may get cached data which store already has before subscribing (for further changes) - this will remove flicker in UI.

@jdkanani jdkanani changed the title Compatible with redux Compatibility with redux Sep 15, 2016
@prescottprue
Copy link
Contributor

@jdkanani There are a few libraries that help with this, redux-firebasev3 is one that I created based on redux-react-firebase. #38 is a pretty good discussion on this too since the a nice way to implement redux stuff is through Higher Order Components.

@jdkanani
Copy link
Author

@prescottprue Thanks.

@jwngr jwngr added the question label Sep 26, 2016
@FirebaseExtended FirebaseExtended locked and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants