Total Questions : 30
Expected Time : 30 Minutes

1. What is the role of the useMemo hook in React, and when should it be used?

2. Explain the concept of lazy loading in React and how it can improve performance.

3. What is the purpose of the componentDidCatch method in React?

4. What is the purpose of the React Context API?

5. What is the significance of the React Fragment?

6. What are Hooks in React, and why were they introduced?

7. In React, what is the role of the render() method?

8. Explain the concept of render props in React and provide a scenario where they are beneficial.

9. What is the significance of React portals?

10. How can you pass data from a parent component to a child component in React?

11. What is the purpose of the useEffect hook in React?

12. What is the significance of the React memo function, and how can it optimize performance?

13. What is the significance of the React.memo function, and how can it optimize performance?

14. What is the purpose of the React.StrictMode component, and when should it be used?

15. How can you optimize performance in React?

16. What are the advantages of using the Redux library in a React application?

17. What is the role of the useImperativeHandle hook in React, and when should it be used?

18. What are the benefits of using the React.forwardRef function, and in what scenarios is it useful?

19. Explain the role of the React Router Prompt component and when it should be utilized.

20. What is the purpose of state in React?

21. What is the purpose of the Redux library in React applications?

22. What is the purpose of the key prop in React lists?

23. Explain the concept of code splitting in React and how it can improve application performance.

24. What is the purpose of the withRouter HOC in React?

25. What is the significance of virtual DOM in React?

26. Explain the concept of the React Virtual DOM and its impact on performance.

27. Explain the concept of controlled components in React.

28. How can you optimize the performance of a React application that renders a large list of items?

29. How can you conditionally render elements in React?

30. What is a React Hook?