What is the purpose of the useState hook in React? - Study24x7
Social learning Network
1 follower study24x7 16 Apr 2024 11:06 AM study24x7 study24x7

What is the purpose of the useState hook in React?

A

Fetching data from an API

B

Managing component state in functional components

C

Defining global variables

D

Creating event listeners

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles