Answers for "get all database react native"

0

get all database react native

var recentPostsRef = firebase.database().ref('/store');
recentPostsRef.once('value').then(snapshot => {
  // snapshot.val() is the dictionary with all your keys/values from the '/store' path
  this.setState({ stores: snapshot.val() })
})
Posted by: Guest on April-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language