Tutorial by Examples

This is what I do when I'm working with Firebase and I want to use ListView. Use a parent component to retrieve the data from Firebase (Posts.js): Posts.js import PostsList from './PostsList'; class Posts extends Component{ constructor(props) { super(props); this.state =...
Replace firebase values with your app api values: import firebase from 'firebase'; componentWillMount() { firebase.initializeApp({ apiKey: "yourAPIKey", authDomain: "authDomainNAme", databaseURL: "yourDomainBaseURL", projectId: "yourProjectID", ...

Page 1 of 1