Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suspense #5914

Open
sonatard opened this issue May 23, 2024 · 1 comment
Open

Suspense #5914

sonatard opened this issue May 23, 2024 · 1 comment

Comments

@sonatard
Copy link
Contributor

sonatard commented May 23, 2024

Use case

Suspense lets you display a fallback until its children have finished loading.

React docs
https://ja.react.dev/reference/react/Suspense

Jetpack Compose implementation
https://docs.soil-kt.com/guide/query/hello-query#step-4-compose-runtime

Describe the solution you'd like

There is no need to implement loading in individual components.

Reference

I created this issue to Jetpack Compose.
https://issuetracker.google.com/issues/342228901

@bignimbus
Copy link
Contributor

Thanks for opening this! Suspense is a concept that's been well received by the React community and Apollo Client users, so we're definitely interested in tracking what this feature could look like in Apollo Kotlin and Compose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants