Direction: Choose the correct option
Q1.
How can you make an HTTP request in React using the Fetch API?
Direction: Choose the correct option
Q2.
Where is the best place to fetch data in a functional component?
Direction: Choose the correct option
Q3.
How do you handle the response from fetch to get JSON data?
Direction: Choose the correct option
Q4.
What does the fetch function return?
Direction: Choose the correct option
Q5.
How do you set loading state while fetching data?
