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.
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.
When a default
index.ts
file is auto-generated (i.e. the app is Java-only), Vaadin also sets a flag in thetarget/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 theindex.html
page.