Skip to content

Ad hoc data fetching with Suspense #24504

@OliverJAsh

Description

@OliverJAsh

.@aaronabramov suggested that I file an issue for this: https://twitter.com/dan_abramov/status/1522207779984793601


👋 I have a question about React 18 + Suspense. From the docs:

Ad hoc data fetching with Suspense is technically possible, but still not recommended as a general strategy.

When can I find more information about how to do this?

The reason I ask is because at Unsplash we have basically created our own routing / data fetching framework after running into too many limitations with existing solutions—so we'll need to figure out how to incorporate Suspense into our data fetching framework.

The best example I've found so far is this talk by Jared Palmer but I suspect it's outdated now?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution: StaleAutomatically closed due to inactivityStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions