Stateful values from the instance of ValueHostsManager.
This is expected to be retained by the creator of ValueHostsManager
so the hosting HTML can be regenerated and a new ValueHostsManager
is created with the retained state.
In a SPA, it may not be necessary to handle states like that.
The SPA may keep an instance of ValueHostsManager for the duration needed.
Each entry in ValueHostInstanceStates must have a companion in ValueHosts and ValueHostConfigs.
Mostly here to provide a way to detect a change in the state quickly.
This value starts at 0 and is incremented each time ValueHostsManager
stores a changed state.
Stateful values from the instance of ValueHostsManager. This is expected to be retained by the creator of ValueHostsManager so the hosting HTML can be regenerated and a new ValueHostsManager is created with the retained state. In a SPA, it may not be necessary to handle states like that. The SPA may keep an instance of ValueHostsManager for the duration needed. Each entry in ValueHostInstanceStates must have a companion in ValueHosts and ValueHostConfigs.