vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
618 stars 167 forks source link

always initialize the UI eagerly for when index.ts is auto-generated #13299

Open vlukashov opened 4 years ago

vlukashov commented 4 years ago

When a default index.ts file is auto-generated (i.e. the app is Java-only), Vaadin also sets a flag in the target/classes/META-INF/VAADIN/config/flow-build-info.json file and uses that to decide to eagerly initialize a UI instance and pre-render UIDL into the index.html page.

platosha commented 2 years ago

This concerns Flow rather than Hilla.

mshabarov commented 1 year ago

Just for clarification: Flow already has eagerServerLoad plugin config parameter. The question seems to be whether we want to make true be a default value.