Total Questions : 20
Expected Time : 20 Minutes

1. What is the purpose of the useCallback hook, and when should it be used?

2. What is the purpose of state in React?

3. Explain the concept of server components in React and how they differ from traditional components.

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

5. How can you handle conditional rendering in React?

6. How can you handle events in React?

7. Explain the concept of controlled components in React.

8. What is the significance of the 'key' prop in React lists?

9. How does React Router improve the navigation experience in a React application?

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

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

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

13. How does the useTransition hook in React contribute to improving the user experience?

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

15. How can you conditionally render elements in React?

16. How can you update the state based on the previous state in React?

17. What is the role of the useRef hook in React?

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

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

20. How does the useDeferredValue hook in React contribute to improving performance, and in what scenarios is it beneficial?