Quiz: React Hooks
Test your understanding of React hooks.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What is the primary purpose of the useState
hook in React?
A.
To fetch data from an API
B.
To manage component-level state
C.
To handle side effects in functional components
D.
To prevent unnecessary re-renders
1 / 14