What are components in reactjs? Explain the component lifecycle with the help of a diagram explaining each component method in detail. Also, give an example of both stateless and stateful components with source code?
429What is the virtual dom, and a pragmatic overview of how react renders it to the dom in react.js?
413
Name two types of React component?
How do you tell react to build in production mode and what will that do?
What is the difference between a function in setState or passing an object?
What is React.createElement?
What are class based component?
Explain various flux elements including action, dispatcher, store and view. Give a simple practical example of installing and using flux in an application?
Explain dom diffing?
What is React.cloneElement? And the difference with this.props.children?
Why should I use react js?
Explain React Router
What do you understand from “in react, everything is a component.”
In what cases would you use a class component over a functional component?
What is the purpose of callback function as an argument of setstate()?
How to update a component every second?
What are the advantages of react router.