Component class
State
The props
refs
setstate
controlled components and non-controlled components
by value component
Fuzzy Lookup
includes a string method
dangerouslysetinnerhtml
can render html string
Scaffolding environment
npm i -g create-react-app globally installed
to create a project
NPX the Create-your-REACT-App App
npm Start to start the project
Import Export
Export
Import from {},
Introduced image
. 1)} {
2) the require
Installation Yarn
NPM G-I Yarn
Es7 plug mounting
class components rcc
stateless component rfc
defaultValue
defaultChecked
htmlFor
style to write the object
class to write objects
ref third way
createRef
Pass component values
from father to son through properties
by the process parameter values in the sub-transmission method which parent
Scaffolding environment
and server-side interaction
json-server
componentDidimount
Installation Axios
NPM I Axios
mounting-Server JSON
JSON Server -g NPM-I
the mock data requesting server interaction tools
Build mock folder analog interface
data.json
In mock which change the port number
json-server data.json --port port number
json-server CRUD