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

how use getFireSotre() inside action ? #836

Closed
knour89 opened this issue Jan 12, 2020 · 2 comments
Closed

how use getFireSotre() inside action ? #836

knour89 opened this issue Jan 12, 2020 · 2 comments

Comments

@knour89
Copy link

knour89 commented Jan 12, 2020

Dears,

I am using react-redux-firebase/redux-firestore v3.... as I know there is no more getFireSotre().

I read the manual and i can't get it what I should use instead I am suing react-reudx + thunk

@prescottprue
Copy link
Owner

prescottprue commented Jan 13, 2020

getFirebase().firestore() can be used as described in #785 . The firebase instance is now managed with react context instead of being placed on the redux store as store.firebase (or store.firestore).

@knour89
Copy link
Author

knour89 commented Jan 19, 2020

getFirebase().firestore() doesn't work, but I found another way... using withFirestore() then send the props to action

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