Questions
How can you update the state of a component?
What is arrow function in React? How is it used?
Differentiate between stateful and stateless components.
What are the different phases of React component’s lifecycle?
Explain the lifecycle methods of React components in detail.
What do you understand by refs in React?
List some of the cases when you should use Refs.
How do you modularize code in React?
How are forms created in React?
What do you know about controlled and uncontrolled components?
Explain the concept of a Custom Hook in React.
What is the difference between a reducer and an action in Redux?
Explain the concept of a Higher Order Component (HOC) in React and when to use it.
How do you handle data validation in a React application?
What is the difference between a synchronous action and an asynchronous action in Redux?
Explain the concept of a Thunk in Redux.
Explain the concept of a Provider in React-Redux.
How do you handle code splitting in a React application?
What is the difference between a connected component and a component in React-Redux?
Explain the concept of a Sagas in Redux.
How do you handle code optimization in a large React application?
What is the difference between a React component and a React element?
Explain the concept of a Middleware in Redux.
How do you handle internationalization in a React application?
What is the difference between a React component and a React class?
Explain the concept of a Memorization in React.
How do you handle events in React?
参考