use

Introduced the CDN zh-hans.reactjs.org/docs/cdn-li…

Internal use of Babel and create the react app webpack zh-hans.reactjs.org/docs/create…

React.createElement

Create the React element, which is a virtual DOM object

()=>React.createElement

Each execution gets the latest div compared to the virtual div, DOM Diff looks different, and locally updates the view

JSX

The official is introduced: zh-hans.reactjs.org/docs/introd…

Vue’s vue-loader:. Vue file => Tag component Vue separates tags from logic

The React of Babel – loader: JSX = > JS | () = > the React. The createElement method React mixed markers and logic, writing in the JSX webpack built-in Babel – loader

Usage: 1.className declaration class 2.JS code {} package 3. The inner {} is the object 4. Return is followed by () 5. You can use self-closing syntax like XML