1. Explain the difference between state and props in React.
  2. Describe the Context API in React and its use cases.
  3. How does reconciliation work in React?
  4. Explain the purpose and usage of React Fragments.
  5. Describe React hooks and their advantages.
  6. List and explain common React hooks.
  7. Explain the concept of pure components in React.
  8. Describe the process of creating a custom hook in React.
  9. Explain Higher Order Components (HOCs) in React.
  10. Why are keys important in React lists?
  11. Demonstrate how to destructure props in React components.
  12. Explain the Virtual DOM and its differences from the real DOM.
  13. Define controlled components in React and provide an example.
  14. How can a child component update the state in a parent component?
  15. Explain the purpose of the dependency array in useEffect.
  16. Describe the purpose of the return function in useEffect.
  17. Provide an overview of React and its main features.
  18. Explain JSX and its role in React development.
  19. List the major advantages of using React for web development.
  20. Demonstrate how to update state in a functional React component.
  21. Describe the phases in a React component's lifecycle.
  22. Demonstrate how to create a form in React.
  23. Explain how React Router works.
  24. List the major advantages of using Next.js.
  25. Compare class and functional components in React.
  26. Describe prop drilling and its potential solutions.
  27. Explain the use cases for useMemo() and useCallback() hooks.
  28. Describe event handling in React and the purpose of e.target.
  29. Explain what triggers a component re-render in React.
  30. Describe React's synthetic events and their purpose.
  31. Compare controlled and uncontrolled components in React.
  32. Explain the purpose and core concepts of Redux.
  33. Describe the role of a reducer in Redux.
  34. Outline the data flow in a Redux application.
  35. Explain methods for handling asynchronous actions in Redux.
  36. Explain the purpose and usage of refs in React.
  37. What is a React portal and when would you use it?
  38. How do you optimize performance in a React application?
  39. What is the purpose of PropTypes in React?
  40. What are React Suspense and React.lazy, and how do they work together?
  41. Explain the significance of the useEffect cleanup function and provide examples of when it’s needed.
  42. What are React Server Components, and how do they differ from traditional components?
  43. Describe how the useReducer hook works and when you would use it over useState.
  44. How does React handle reconciliation and diffing during updates, and what optimizations are applied?
  45. Describe how to handle conditional rendering in React and provide different techniques to achieve it.
  46. What is the significance of React’s Strict Mode, and how does it help developers?
  47. How do you manage state in a large-scale React application, and what are the best practices?
  48. What are the best practices for structuring a React project, and why are they important?
Estimated time: 25 hours

Settings

THEME

NAVIGATION

Show arrows

JAVASCRIPT CONSOLE

Enable console
Keep it on all tabs

TIMER

Show in top bar
Infinite loop
Enable sound

QUESTIONS

Show answer background

APPLICATION DATA

This application is currently in maintenance mode.
Both questions and answers need to be refactored and restructured. There will be also new functionalities soon