You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll notice a small difference to the result of the previous task: The PhotosScreen now contains a PhotoList component which fetches the photos and renders the list.
Task
The current state of the app contains a custom hook.
How is it assured that a new fetch will take place whenever the url provided to the useDataApi hook changes? What is the crucial line number in useDataApi.ts?