
1. React Basics
- What is React.js, and why is it used?
- What are the key features of React?
- What is JSX in React?
- How does React handle the Virtual DOM?
- What is the difference between functional and class components?
- What are React fragments, and why are they used?
- What is the role of
keyin lists in React? - How does React update the UI efficiently?
- What is reconciliation in React?
- How is React different from frameworks like Angular and Vue?
2. React Hooks
- What are React Hooks, and why are they introduced?
- How does the
useStatehook work? - What is the
useEffecthook used for? - How can you clean up side effects in
useEffect? - What is the difference between
useEffectandcomponentDidMount? - How does the
useContexthook work? - What is the
useRefhook, and when should you use it? - How does
useMemooptimize performance? - What is
useCallback, and how is it different fromuseMemo? - How can you create a custom React Hook?
3. State Management & Context API
- What is state in React, and how is it managed?
- What is the difference between local state and global state?
- How does the Context API work in React?
- What are the limitations of Context API compared to Redux?
- How does React Redux work for state management?
- What is the difference between Redux and React’s Context API?
- What are the key concepts of Redux (actions, reducers, store)?
- What is Redux Toolkit, and why is it recommended?
- How does React Query help in state management?
- What are some alternatives to Redux for global state management?
4. React Performance Optimization
- What are some ways to optimize performance in React applications?
- How does lazy loading work in React?
- What is React.memo(), and how does it improve performance?
- How does the React Profiler tool help in performance debugging?
- What is the significance of React Fiber?
- What are concurrent features in React 18?
- How does
React.lazy()work withSuspense? - What is Server-Side Rendering (SSR) in React?
- What is hydration in React, and when is it useful?
- How does React handle re-renders, and how can you prevent unnecessary re-renders?
5. Advanced Topics & Best Practices
- What is Next.js, and how is it different from React?
- What are higher-order components (HOCs) in React?
- What is Prop Drilling, and how can it be avoided?
- What is the difference between controlled and uncontrolled components?
- How does React handle event handling and synthetic events?
- What is the difference between
useEffectanduseLayoutEffect? - How does React handle form validation?
- What are React Portals, and when should you use them?
- How does Error Boundary work in React?
- What new features were introduced in React 18+?
