Files
reactfire/examples/commentsBox
Mark Woodall c72826a48c added commentBox example
Working comment tutorial from react website updated with ReactFireMixin.
2014-05-16 12:11:24 -05:00
..
2014-05-16 12:11:24 -05:00
2014-05-16 12:11:24 -05:00
2014-05-16 12:11:24 -05:00

ReactFire CommentBox Component Example

Setup Instructions

To run this example locally, either download the whole ReactFire repo or just this /commentBox/ directory. From the /commentBox/ directory, install the needed dependencies via bower:

$ bower install

Then replace the example Firebase app URL with your Firebase app URL in the index.html file:

var firebaseApp = "https://my-firebase-app.firebaseio.com/"

Finally, start up a server via Python (or your favorite method):

$ python -m SimpleHTTPServer 8080

Now you should be able to visit the example in the browser of your choice at http://127.0.0.1:8080/.

Description

The official React tutorial is a great introduction to how to think in React. This example replaces the REST-like server with Firebase and the ReactFireMixin.