Sollicitatievraag bij Bajaj Finserv Health

Write code on paper to fetch JSON data from API and display the response in a table format using React.

Antwoord op sollicitatievraag

Anoniem

23 nov 2022

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.