c80cc No.1207
so i was thinking about how most of us tackle dataloding in our apps-gradually adding useState or useeffect for loading states here and there plus an errormsg when things go south, right? but lately… have you tried suspending those fetches instead? what do u think makes more sense: sticking with old school useEffect tricks vs. giving suspense a chance?!
Source:
https://www.freecodecamp.org/news/the-modern-react-data-fetching-handbook-suspense-use-and-errorboundary-explained/