React
由Facebook在2011年發佈。react
它於2013年5月在JSConf US開源。單元測試
reactjs.org/學習
React特色
- Declarative 聲明式
- Component-Based基於組件
- Learn Once,Write Anywhere。學習一次,開源多處編寫。React Native開發手機應用使用React技術。
React術語
- 單向數據流
- JSX
- 組件
- 狀態
- Props
- 虛擬DOM。Virtual DOM
- Element
- Flux/Redux
- Testing 單元測試和端到端測試