You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
tomivirkki
changed the title
Enable using the React wrappers with server-side rendering frameworks
The React wrappers crash next.js apps
Jun 11, 2023
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.
The text was updated successfully, but these errors were encountered: