I would like to end this book by giving you some of the most common questions of React and JavaScript in job interviews:
- React questions:
- What is React? How is it different from other JS libraries/frameworks?
- What happens during the lifecycle of a React component?
- What can you tell me about JSX?
- What's the difference between Real DOM and Virtual DOM?
- What are the limitations of React?
- Explain the purpose of render() in React
- What is a state in React and how is it used?
- What's the difference between states and props?
- What's an arrow function in React? How is it used?
- What's the difference between a Class component and a Functional Component?
- What's the difference between a stateless component and a pure component?
- Explain the lifecycle methods of React components in detail.
- What are Higher Order Components (HOC)? ...