ReactJs-Interview-Question
ReactJs-Interview-Question copied to clipboard
I have added 1 awesome question Number 76
Scenario Based - Async Data Fetch and Rendering Create a React component that fetches data from a given API endpoint and renders it as a list.
The API endpoint returns an array of objects, each containing an id and a name. However, there is a 2-second delay before the API responds.
Implement the React component to fetch the data from the API and display it as a list.
I am really sorry for the delay, could you resolve the conflicts?