You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
We just upgraded from react-redux-firebase from "2.1.6" to "3.9.0" and are getting the error message TypeError: store.getState is not a function. (In 'store.getState()', 'store.getState' is undefined) when trying to build. This is the file the error message is pointing to:
We understand that firebaseConnect only takes one argument now, and it's props, but are unsure how it had access to the store before prior to the upgrade and now it doesn't. How do we gain access to the store inside of firebaseConnect now?
What is the expected behavior?
Successful build
Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
We just upgraded from react-redux-firebase from
"2.1.6"
to"3.9.0"
and are getting the error messageTypeError: store.getState is not a function. (In 'store.getState()', 'store.getState' is undefined)
when trying to build. This is the file the error message is pointing to:Here's our store creation:
And our Provider:
We understand that
firebaseConnect
only takes one argument now, and it's props, but are unsure how it had access to the store before prior to the upgrade and now it doesn't. How do we gain access to the store inside of firebaseConnect now?What is the expected behavior?
Successful build
Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?
The text was updated successfully, but these errors were encountered: