cube-js / cube-js/cube

Support Suspense in cubejs-client-react

Open
#4,053 0 comments 1 reaction 0 assignees View on GitHub
client:react
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

It would be very useful for cubejs-client-react to support [suspense for data fetching](https://reactjs.org/docs/concurrent-mode-suspense.html). When building a dashboard, of multiple charts, instead of having to manage the loading of state of each distinct component, suspense allows the parent component to suspend with a loading indicator until all of the promises from children have resolved. This provides a much nicer user experience.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.