Browse Source

more state machiens

main
petehunt 11 years ago
parent
commit
acc11b50a8
  1. 2
      docs/refactor/01-motivation.md

2
docs/refactor/01-motivation.md

@ -6,7 +6,7 @@ We built React to solve one problem: **building large applications with data tha
## Stay simple and declarative
React apps are easy to write. Simply express how the UI should look at any given point in time, and React will manage all UI updates for you when your underlying data changes.
React apps are easy to write. Think of your UI as a state machine; simply express how the UI should look at any given point in time, and React will manage all UI updates for you when your underlying data changes.
It's just like writing a server-rendered web app: when the data changes, React conceptually hits the refresh button, except React is very fast and maintains the state of your UI. Because of this, React's API is very small and easy to understand.

Loading…
Cancel
Save