Write code on paper to fetch JSON data from API and display the response in a table format using React.
Anonym
Used fetch() to do a GET request to the URL and then display it using the functional component by returning JSX, used map() to distribute data and , tags to render them in a table.