|
|
@ -37,8 +37,8 @@ React really shines when your data changes over time. |
|
|
|
|
|
|
|
In a traditional JavaScript application, you need to look at what data changed |
|
|
|
and imperatively make changes to the DOM to keep it up-to-date. Even AngularJS, |
|
|
|
which provides a declarative interface via directives and data binding requires |
|
|
|
a linking function to manually update DOM nodes. |
|
|
|
which provides a declarative interface via directives and data binding [requires |
|
|
|
a linking function to manually update DOM nodes](http://docs.angularjs.org/guide/directive#reasonsbehindthecompilelinkseparation). |
|
|
|
|
|
|
|
React takes a different approach. |
|
|
|
|
|
|
@ -70,7 +70,8 @@ some pretty cool things with it: |
|
|
|
- Facebook has dynamic charts that render to `<canvas>` instead of HTML. |
|
|
|
- Instagram is a "single page" web app built entirely with React and |
|
|
|
`Backbone.Router`. Designers regularly contribute React code with JSX. |
|
|
|
- We've built an internal prototype that runs React apps in a web worker. |
|
|
|
- We've built internal prototypes that run React apps in a web worker and use |
|
|
|
React to drive **native iOS views** via an Objective-C bridge. |
|
|
|
- You can run React |
|
|
|
[on the server](http://github.com/petehunt/react-server-rendering) |
|
|
|
for SEO, performance, code sharing and overall flexibility. |
|
|
|