React Topics
- React Context
-
Hooks:
- useState
- useEffect
- useReducer
-
Basics of React Router:
- Understanding React Router v6
-
Memoization Hooks:
-
Redux:
- Setting up Redux
- Implementing Redux Dev Toolkit
- API Integration
-
Peer Dependencies:
Advanced Questions
- What is a pure function?
-
What is a Higher-Order Component (HOC)?
- Examples of HOCs you have used.
- What is render props?
-
Custom Hooks:
- Difference between custom hooks, functions, and components.
- How does the Virtual DOM work in React?
- What is reconciliation in React?
-
Controlled vs. Uncontrolled Components:
- Which one is better and why?
- What is memoization and how can it be achieved in React?
-
Toolchains in React:
-
Code Splitting in React:
-
JavaScript Concepts:
- What is hoisting?
- Difference between Array.forEach() and Array.map().
- Explain the event loop.
- Name one JavaScript engine.
- Is JavaScript object-oriented? If not, what type is it?
-
React Props:
- What is the children prop?
-
React Portals:
- What are they and why are they useful?
-
Performance Optimization in React:
-
Refs in React:
-
Spread Operator (...) in React:
- What do these three dots do?
The above is the detailed content of React Interview Question. For more information, please follow other related articles on the PHP Chinese website!