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

Ensure bootstrapping compatibility with V14 #6136

Closed
vlukashov opened this issue Jul 31, 2019 · 1 comment
Closed

Ensure bootstrapping compatibility with V14 #6136

vlukashov opened this issue Jul 31, 2019 · 1 comment
Assignees
Labels
hilla Issues related to Hilla
Milestone

Comments

@vlukashov
Copy link

vlukashov commented Jul 31, 2019

When upgrading a Vaadin app from V14 to V15, I want the response to my HTTP GET request to come from the V14 BootstrapHandler, so that the existing server-side bootstrapping keeps working and I do not have to rewrite the app to use client-side bootstrapping.

  • add a clientSideBootstrap property (Servlet parameter) similar to compatibilityMode
  • the default value of clientSideBootstrap is false (use server-side bootstrapping)
  • keep the existing BootstrapHandler (if clientSideBootstrap is false)
  • the Maven plugin needs to know that property as well (thus, it needs to be a maven property that's put to the token file)
  • that will have all the same problems as the npm model property (not set if started e.g. directly from Eclipse)
@qtdzz
Copy link
Contributor

qtdzz commented Aug 9, 2019

The property was added in #6167.
#6186 finalizes it by using the property to generate proper webpack config for the new mode.

@qtdzz qtdzz closed this as completed Aug 9, 2019
@vlukashov vlukashov added this to the CCDM MVP milestone Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hilla Issues related to Hilla
Projects
None yet
Development

No branches or pull requests

3 participants