Data fetching with useEffect - why you should go straight to react-query, even for simple apps
Data fetching with useEffect is easy to use and great for quick one-off or practice apps. I've used it myself for a long time - but recently, I've come to the conclusion it's best to just use react-query, even for the simplest cases. Why? ...