Browse Source

Bring in the last few edits

main
petehunt 12 years ago
parent
commit
80d3591c7c
  1. 7
      _posts/2013-06-04-why-react.md

7
_posts/2013-06-04-why-react.md

@ -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 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, 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 which provides a declarative interface via directives and data binding [requires
a linking function to manually update DOM nodes. a linking function to manually update DOM nodes](http://docs.angularjs.org/guide/directive#reasonsbehindthecompilelinkseparation).
React takes a different approach. 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. - Facebook has dynamic charts that render to `<canvas>` instead of HTML.
- Instagram is a "single page" web app built entirely with React and - Instagram is a "single page" web app built entirely with React and
`Backbone.Router`. Designers regularly contribute React code with JSX. `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 - You can run React
[on the server](http://github.com/petehunt/react-server-rendering) [on the server](http://github.com/petehunt/react-server-rendering)
for SEO, performance, code sharing and overall flexibility. for SEO, performance, code sharing and overall flexibility.

Loading…
Cancel
Save