showing results for - "get all database react native"
Nesbit
28 Jul 2017
1var recentPostsRef = firebase.database().ref('/store');
2recentPostsRef.once('value').then(snapshot => {
3  // snapshot.val() is the dictionary with all your keys/values from the '/store' path
4  this.setState({ stores: snapshot.val() })
5})
6