← Questions
React hook for API data and UI changes in a starter app
0
I was asked this
No reports yet. Sign in to say where you were asked it.
In a starter React app with API and UI code already written: write a hook that fetches data from the API and converts it to the shape the UI needs, then change the UI as asked (open and close a modal, expand and collapse a list, add a few working buttons). Expect hooks, useEffect with async functions and function components.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
