Setting content of my `UI` subclass in Vaadin Flow web app
问题 In Vaadin Flow, writing a subclass of UI class is no longer necessary. Yet the page of the manual on Differences Between V10 and V8 Applications suggests we are free to do so. The problem: The UI class in Flow has no UI::setContent method. This usual line of code in our UI::init method fails in Flow: this.setContent( layout ); // <--- No method `setContent` found in Flow ➥ How do we set the content to be displayed within our UI subclass at runtime? Here is my code, with the line of setContent