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

The React wrappers crash next.js apps #48

Open
tomivirkki opened this issue Dec 15, 2022 · 0 comments
Open

The React wrappers crash next.js apps #48

tomivirkki opened this issue Dec 15, 2022 · 0 comments

Comments

@tomivirkki
Copy link
Member

tomivirkki commented Dec 15, 2022

Description

While you can now use the Vaadin components with React in Hilla apps, enabling importing the wrappers server-side would unlock the components for an even wider audience.

Using the components in applications that base on SSR frameworks doesn't currently work because the Web Component imports on the server break the build due to incompatible run environment. Importing the Web Component only when running on the browser would make it possible to use Vaadin components in Next.js / Gatsby applications.

@tomivirkki tomivirkki changed the title Enable using the React wrappers with server-side rendering frameworks The React wrappers crash next.js apps Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant