Front End Development Practice Test
Front End Development Front End Development Frameworks & State Management
In React, what is the purpose of the useState hook?
Select your answer
A
To fetch data from an API
B
To add local state to a functional component
C
To manage global application state
D
To handle side effects
Hint