const createStoreWithFirebase = compose(
reduxReactFirebase(firebaseConfig, {userProfile: 'users'}),
window.devToolsExtension ? window.devToolsExtension() : f => f
)(createStore);
I've also tried without the devTools stuff, but no luck.
I do have the 'users' node in my Firebase database, although no ID is being created in the 'users' node when using firebase.createUser(credentials, { name.value }), which might be the real cause of the issue...
BTW, in the docs says: "profile if initialized with userProfile support then profile will be saved into ${userProfile}/${auth.uid}", so that means it should create the new key in the 'users' node.
I've also tried to rename userProfile to profile in the store, but it doesn't make any effect:
@gazpachu I was having this same problem, looking at the source for reduxReactFirebase it only accepts one object. If you merge the firebase config with { userProfile: 'users' } then it works.
I'm following the auth example, but the user profile comes as
undefined
, although theauth
object is fine:I've also tried without the devTools stuff, but no luck.
I do have the 'users' node in my Firebase database, although no ID is being created in the 'users' node when using
firebase.createUser(credentials, { name.value })
, which might be the real cause of the issue...BTW, in the docs says: "profile if initialized with userProfile support then profile will be saved into ${userProfile}/${auth.uid}", so that means it should create the new key in the 'users' node.
I've also tried to rename
userProfile
toprofile
in the store, but it doesn't make any effect:reduxReactFirebase(firebaseConfig, {profile: 'users'}),