react-native-firestack icon indicating copy to clipboard operation
react-native-firestack copied to clipboard

[v2] Listening for specific paths on FirestackModule

Open austin43 opened this issue 9 years ago • 1 comments

Hi,

I'm trying to listen to a specific path changing via FirestackModule.


import { FirestackModule } from 'react-native-firestack'
const users = new FirestackModule('users', {firestack})

export default combineReducers({
	users: users.reducer
})

Is there a way to just listen to /users/1 for example if I just need to listen to changes on that path? Can't find much documentation on FirestackModule, so hopefully someone can point me in the right direction. Thanks in advance.

austin43 avatar Dec 01 '16 21:12 austin43

@prescottprue How's integration with your redux module?

auser avatar Dec 02 '16 00:12 auser