To store state available to our entire Vaadin app, we can get and set \"Attribute\" on the VaadinContext object that represents our entire Vaadin
In Vaadin Flow there is ComponentUtil helper class which has methods to store data with components and UI.
See the pair of ComponentUtil.setData methods, one taking a Class as key, the other taking a String as key, just like the getAttribute/setAttribute methods found on VaadinContext & VaadinSession.