To complete the update
To optimize for all devices
To change the layout of the screen
when you need the browser to paint before the effectors
Imerative
Integrated
Declarative
closed
to bind the function
to call the function
to directly access the DOM node
to refer to another JS file
External storage of the component
A permanent storage
Internal storage of the component
None of the above
True
False
Cannot say
None of above
Render with arguments
PropTypes
SetState
Props
Services & Components
State & Component
State & Props
State & Services
React.js
React
ReactJS
All of the above
ECMAJavaScript 6
ECMA 6
ECMAScript 6
EJavaScript 6
It is a module bundler
The “webpack” command is used to transpile all the JavaScript down into one file
It runs React local development server
Inside the vendor/components/
Inside the vendor/
Inside the js/components/
Inside the external/components/
this.setChangeState
this.State{}
this.setState
The state of the component is updated
The component is created for the first time
All of above
None
Babel is a Transpolar
Babel is a Compiler
render Component
Setinitial Component
render
React.js is easy to integrate with other frameworks such as Angular, Backbone JS since it is only a view library
React.js can render both on client and server side
React.js can increase the application’s performance with Virtual DOM
this()
self()
inherits()
super()
The source of truth is a component state
The source of truth can be anything
The source of truth is DOM
Original DOM
Virtual DOM