DEV Community

ZeeshanAli-0704
ZeeshanAli-0704

Posted on

React Interview Question


React Topics

  1. React Context
  2. Hooks:
    • useState
    • useEffect
    • useReducer
  3. Basics of React Router:
    • Understanding React Router v6
    • How does React handle routing and what are some popular routing libraries for React?
  4. Memoization Hooks:
    • useMemo
    • useCallback
  5. Redux:
    • Setting up Redux
    • Implementing Redux Dev Toolkit
  6. API Integration
  7. Peer Dependencies:
    • What are they?

Advanced Questions

  1. What is a pure function?
  2. What is a Higher-Order Component (HOC)?

    • Examples of HOCs you have used.
    • Can you explain the concept of Higher Order Components (HOC) in React?
  3. What is render props?

  4. Custom Hooks:

    • Difference between custom hooks, functions, and components.
  5. How does the Virtual DOM work in React?

  6. What is reconciliation in React?

  7. Controlled vs. Uncontrolled Components:

    • Which one is better and why?
  8. What is memoization and how can it be achieved in React?

  9. How do you handle asynchronous data loading in React?

    • What is a async in React?
  10. Code Splitting in React:

    • How to achieve it?
  11. What is package manager?

    • What is NPM?
    • Can we add multiple version of NPM on system?
    • Can we implement React without NPM?
  12. React Props:

    • What is the children prop?
  13. React Portals:

    • What are they and why are they useful?
  14. Performance Optimization in React:

    • Common techniques.
  15. Refs in React:

    • How to create refs.
  16. Spread Operator (...) in React:

    • What do these three dots do?
  17. Client Side Vs Server Side

    • What is the difference between server-side rendering and client-side rendering in React?
  18. React Routers

    • How does React handle routing and what are some popular routing libraries for React?

Top comments (0)