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

Using commons-ui in server rendered components does not work. #878

Open
kelvinkipruto opened this issue Sep 6, 2024 · 1 comment
Open

Comments

@kelvinkipruto
Copy link
Contributor

Describe the bug
Using any @commons-ui component in a server-rendered page or component does not work. It throws an error about client-side-only components being used in the server. Components that can be server-rendered do not work as expected.

To Reproduce

  1. In any of the pages that are server-rendered, try using any component from commons-ui/core.

Expected behaviour
Components without explicit client-side dependencies should work with server-side rendering.

@kelvinkipruto kelvinkipruto changed the title Using commons-ui in server rendered components does not work. Using commons-ui in server rendered components does not work. Sep 6, 2024
@kilemensi
Copy link
Member

mui/material-ui#34905

@kilemensi kilemensi added this to COMMONS Sep 6, 2024
@kilemensi kilemensi moved this to 🆕 Icebox in COMMONS Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 Icebox
Development

No branches or pull requests

2 participants