mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-04-23 04:00:23 +08:00
Fixed v0.1.3 release data in change log
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
ReactFire Examples
|
||||
==================
|
||||
# ReactFire Examples
|
||||
|
||||
Have you come up with a cool example that uses the ReactFireMixin? Submit a pull request and share
|
||||
it with everyone else by putting in this /examples/ directory. Please make sure to include a README.md
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
ReactFire Todo App Example
|
||||
==========================
|
||||
# ReactFire Todo App Example
|
||||
|
||||
Live Demo
|
||||
---------
|
||||
## Live Demo
|
||||
You can view a live version of this demo [here](https://reactfiretodoapp.firebaseapp.com/).
|
||||
|
||||
Setup Instructions
|
||||
--------------------
|
||||
## Setup Instructions
|
||||
|
||||
To run this example locally, either download the whole ReactFire repo or just this /todoApp/
|
||||
directory. From the /todoApp/ directory, install the needed dependencies via bower:
|
||||
|
||||
@@ -22,8 +20,8 @@ $ 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/](http://127.0.0.1:8080/).
|
||||
|
||||
Description
|
||||
-----------
|
||||
## Description
|
||||
|
||||
This example shows three different ways to make a Todo app using React. It is adapted from the
|
||||
Todo app example on the [ReactJS homepage](http://facebook.github.io/react/). There are three
|
||||
different versions of the Todo app example:
|
||||
@@ -37,6 +35,6 @@ made to this example are persistent.
|
||||
3. __ReactFireMixin:__ A version of the first example which uses the ReactFireMixin. Changes made to
|
||||
this example are persistent.
|
||||
|
||||
Walkthrough
|
||||
-----------
|
||||
## Walkthrough
|
||||
|
||||
To learn more about how this example works, see the [blog post on the official Firebase blog](https://www.firebase.com/blog/2014-05-01-using-firebase-with-react.html).
|
||||
@@ -23,6 +23,6 @@
|
||||
"dependencies": {
|
||||
"react": "~0.10.0",
|
||||
"firebase": "~1.0.12",
|
||||
"ReactFire": "~0.1.2"
|
||||
"ReactFire": "~0.1.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<script src="bower_components/firebase/firebase.js"></script>
|
||||
|
||||
<!-- ReactFireMixin -->
|
||||
<script src="bower_components/ReactFire/ReactFireMixin.js"></script>
|
||||
<script src="bower_components/ReactFire/js/ReactFireMixin.min.js"></script>
|
||||
|
||||
<!-- Custom JS -->
|
||||
<script type="text/jsx" src="js/todoAppOriginal.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user