"React: A framework for the development of the future user interface"--self-editing tutorial source code

Source: Internet
Author: User
Second, JSX

Chapter II Source code DEMO1-7
React uses native JavaScript version react uses JSX statement react to automatically identify {}, when JavaScript handles react child nodes This.props.children jsx embedded in JavaScript, such as: condition Judgment, Use variables, use functions, use logic with (&&), use logic, or (| |) React non-dom attributes (key, ref, dangerouslysetinnerhtml) and event react annotations, special attributes (ClassName, htmlfor), style three, component life cycle

Chapter III Source code DEMO1
React component life cycle Four, data flow

the fourth chapter of source code demo1-4
Set props to an object props to add the event handler Proptypes and Getdefaultprops state states Six, the composition of the component

the sixth chapter of source code DEMO1
Components of composite--radio & Radiogroup VII, mixin

the seventh chapter of source code DEMO1
Mixin Nine, form

the Nineth chapter of source code demo1-7
The Label text box for the unconstrained components and constraints component form and the Select Options box are unconstrained and constrained by the Name property of the form element of the check box for multiple form elements with the change processor (1, pass. bind other parameters; 2, Use the Name property of Domnode to determine which component's state needs to be updated, using React's addons linkedstatemixin custom form component ("Uncaught TypeError:this.transferPropsTo is not a function ", do not know the reason why the method was deleted after the React library upgrade. ) 10, animation

the tenth chapter of source code Demo1-3
React CSS3 react JS animation react requestanimationframe Animation 14, build tool

the 14th chapter source Code 1, gulp+browserify constructs react application 2, Webpack constructs the react application 16, constructs the tool

Chapter 16th Source Code 1, react-router routing 2, Flux architecture

Wrong place to correct, help remember start OH

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.