@samitouri / QOS-React-2 / commits / 55cd8bee35

Tweaks to README

Most significant change is updating the leading copy to match #440.

Ben Alpert committed Dec 1, 2013 at 22:49 UTC 55cd8bee35d73889bd506b1f917dafb3d3b08c80
1 file changed +8 -10
README.md
+8 -10
@@ -2,21 +2,21 @@
2
3 React is a JavaScript library for building user interfaces.
4
5 -* **Declarative:** React uses a declarative paradigm that makes it easier to reason about your application.
6 -* **Efficient:** React computes the minimal set of changes necessary to keep your DOM up-to-date.
7 -* **Flexible:** React works with the libraries and frameworks that you already know.
5 +* **Just the UI:** Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
6 +* **Virtual DOM:** React uses a *virtual DOM* diff implementation for ultra-high performance. It can also render on the server using Node.js — no heavy browser DOM required.
7 +* **Data flow:** React implements one-way reactive data flow which reduces boilerplate and is easier to reason about than traditional data binding.
8
9 [Learn how to use React in your own project.](http://facebook.github.io/react/docs/getting-started.html)
10
11 ## Examples
12
13 -We have several examples [on the website](http://facebook.github.io/react). Here is the first one to get you started:
13 +We have several examples [on the website](http://facebook.github.io/react/). Here is the first one to get you started:
14
15 ```js
16 /** @jsx React.DOM */
17 var HelloMessage = React.createClass({
18 render: function() {
19 - return <div>{'Hello ' + this.props.name}</div>;
19 + return <div>Hello {this.props.name}</div>;
20 }
21 });
22
@@ -51,7 +51,7 @@ bower install --save react
51
52 ## Contribute
53
54 -The main purpose of this repository is to continue to evolve React core, making it faster and easier to use. If you're interested in helping with that, then keep reading. If you're not interested in helping right now that's ok too :) Any feedback you have about using React would be greatly appreciated.
54 +The main purpose of this repository is to continue to evolve React core, making it faster and easier to use. If you're interested in helping with that, then keep reading. If you're not interested in helping right now that's ok too. :) Any feedback you have about using React would be greatly appreciated.
55
56 ### Building Your Copy of React
57
@@ -81,12 +81,10 @@ At this point, you should now have a `build/` directory populated with everythin
81 We use grunt to automate many tasks. Run `grunt -h` to see a mostly complete listing. The important ones to know:
82
83 ```sh
84 -# Create test build & run tests with PhantomJS
84 +# Build and run tests with PhantomJS
85 grunt test
86 -# Lint the core library code with JSHint
86 +# Lint the code with JSHint
87 grunt lint
88 -# Lint package code
89 -grunt lint:package
88 # Wipe out build directory
89 grunt clean
90 ```