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

[ui-improve] use 'useQuery' for more granular control over different states in the Page #32

Closed
raylrui opened this issue Sep 19, 2024 · 0 comments · Fixed by #33
Closed
Assignees
Labels
feature New feature or request

Comments

@raylrui
Copy link
Contributor

raylrui commented Sep 19, 2024

Couple with performance bugs #30,

Context: page will be entirely dependent on data being available before rendering, and render only on the final result once it’s ready.

  1. useQuery allow more granular control over different states (loading, error, retry)
  2. show partial UI while waiting for data (i.e., skeleton loaders or progressively enhanced content)
  3. keep 'useSuspenseQuery' for components that are entirely dependent on data being available before rendering
@raylrui raylrui added the feature New feature or request label Sep 19, 2024
@raylrui raylrui self-assigned this Sep 19, 2024
@raylrui raylrui linked a pull request Sep 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant