-
Notifications
You must be signed in to change notification settings - Fork 475
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
error in composing firebasestore and firebase with middelware. #30
Comments
please give me some solution so I can move forward to watch next tutorial thank you. |
i also faced the same problem... The problem lies in this line:-
looks like they've made a breaking change. Remove that line and everything should work out fine. Final snippet you should have:- For detailed explanation check these out:- |
@pralhad88 to solve this problem update "react-redux-firebase" property on your package.json file with this version "2.1.6" and the problem will solved. |
@pralhad88 it's a react-redux-firebase version problem in the tuto we are working with version 2 and there is some update's fro v2 to v3. For me i installed the version 2 and completed the tuto u can do it by executing in the terminal : npm i --save react-redux-firebase^@2.5.0 |
const store = createStore(rootReducer,
compose(
applyMiddleware(thunk.withExtraArgument({getFirebase, getFirestore})),
reactReduxFirebase(fbConfig), // redux binding for firebase
reduxFirestore(fbConfig) // redux bindings for firestore
)
);
in this line error is throwing it says
TypeError: Object(...) is not a function
and say webpack_require inwebpack/bootstrap:785
lineThe text was updated successfully, but these errors were encountered: