Total Questions : 10
Expected Time : 10 Minutes

1. What is the role of the dangerouslySetInnerHTML prop in React?

2. What is the purpose of the shouldComponentUpdate method in React?

3. What are the advantages of using the React Context API over prop drilling, and in what scenarios is it preferable?

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

5. What is the role of the useHistory hook in React Router, and how can it be used?

6. How does React handle prop drilling?

7. What is a React Hook?

8. How can you handle global state management in a React application without using Redux?

9. What is the purpose of state in React?

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