1. Basic knowledge of iOS is required.
2. JSX syntax
3. Virtual DOM, one-way data injection (virtual DOM to real DOM)
4. React knowledge view, can be used in conjunction with other class libraries
5. Important Methods:
A. render ();--Returns the components of some columns.
B. this.props;--Gets the data that the parent component passes to the child component.
C. this.setstate ({data:data});--For dynamic update status, setting data; (UI is updated automatically after setting)
D. Getinitialstate ();---only once for the lifetime of the entire component, to initialize the data;
E. Componentdidmount ();--automatically invoked after render, used to asynchronously fetch data and update data;
6. Execution order
Getinitialstate () Initialize data--〉render () render initialization data--〉componentdidmount () asynchronously Get Data--〉setstate () Update data
7. How do I communicate between components?
For example:
<parent><child/></parent>
Parent component can get to subcomponent: This.props.children
8. Specific reference: http://www.html-js.com/article/2864
201506251117_ "react--required knowledge, main technology"