Skip to content
New issue

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

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

Already on GitHub? # to your account

[charts] Add RSC variant support #12180

Open
oliviertassinari opened this issue Feb 22, 2024 · 1 comment
Open

[charts] Add RSC variant support #12180

oliviertassinari opened this issue Feb 22, 2024 · 1 comment
Labels
component: charts This is the name of the generic UI component, not the React module! new feature New feature or request waiting for 👍 Waiting for upvotes

Comments

@oliviertassinari
Copy link
Member

oliviertassinari commented Feb 22, 2024

Summary

Make it possible to render charts with a minimal runtime. Have as much as possible in the server bundle with React Server Components (RSC) skipping hydration and JavaScript bundle network/parsing time.

Examples

Focus on small size:

Motivation

Improved performance on mobile.

Search keywords: Charts server components

@oliviertassinari
Copy link
Member Author

An example on how to use a useTheme() with a RSC https://github.com/oliviertassinari/test-theme/blob/main/src/app/Breadcrumb.tsx

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component: charts This is the name of the generic UI component, not the React module! new feature New feature or request waiting for 👍 Waiting for upvotes
Projects
None yet
Development

No branches or pull requests

1 participant