Post
Honestly just use @tanstack.com react-query's useQuery, it's so much cleaner for client side fetching. Or there's always the async RSC route.
For sure. I'm just seeing folks saying "setting state in any way in a useEffect is bad", and I'm curious as to 1) why, and/or 2) where that information is coming from.
0 reposts6 likes