How can useEffect be used to load data for a component?
After the page has been rendered you can add data after the fact
What browser function can be used to make HTTP requests to a server in React?
fetch
How do you use useEffect to load component data just once when the component mounts?
put an empty dependency
How do you use useEffect to load component data every time the data key changes?
[the data key]
In a large-scale production app, what are some better alternatives for loading and managing backend data?
React Query, Vercel SWR