Skip to content

Integration with Suspense #30

@ghengeveld

Description

@ghengeveld

This is an umbrella issue to discuss and implement support for Suspense. The major difference is the way the loading state is rendered, using the Suspense fallback instead of Async.Loading.

Things to consider:

  • Ideally this should not change the API to React Async. It should be a free and invisible upgrade.
  • How can Async know we're using Suspense?
  • This should work with multiple promises, both in parallel and sequential.
  • The same or similar API should be available through useAsync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    integrationIntegration with external library or API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions