react-native-firestack
react-native-firestack copied to clipboard
[v3] Missing Firestack Module Documentation
Hi -- I've been trying to implement firestack into my react-native app with redux, but following along the tutorial here has been a challenge -- Possibly because there have been updates made recently?
I'm looking forward to when you release more on how to use the module. Thank you.
@wontwon sorry about this, we're in the middle of standardising the library to match the web api.
Check out the v3 branch/my fork, its the latest and is worked on frequently - there are some docs (auth module being the most documented there at the moment). The idea is you should be able to follow the official google firebase web api documents with only a few minor differences.
I posted a rough usage example of auth here: https://github.com/fullstackreact/react-native-firestack/issues/140 (my 2nd comment)
@Salakar - Thanks for the quick response. I've been enjoying the firestack library so far and have figured out how to use firestackmodule. My only major question: Is there any way to pass params to the query event? Example: I'd like to query all posts by user "123", which I would normally use .equal on a firebase ref.
Appreciate the help @Salakar :)
@wontwon could you try .equalTo
- equalTo(value: any, key?: string): Reference
from https://firebase.google.com/docs/reference/js/firebase.database.Reference#equalTo - have checked the code and the same method exists on firestack.
@Salakar In my opinion, Firestack Module documentation is very important because actually it's not simple for a beginner to use firestack with redux