I haven’t had a need for suspense, I use react query without suspense just using the data, error, isLoading etc state directly. And I don’t see Suspens as a simpler pattern necessarily. What does it get you that other patterns don’t? I’m curious to know your use cases!

  • T (they/she)@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    Suspense seems to be great and solve the issue of many loading states but at least with my use cases, I’d use it in a project where I need data to be fetched and libraries like SWR don’t look like they will be supporting it anytime soon.