Observing Initialization State
To determine if a state is initializing, we can use the .isInitializing property. It is a ReadOnlyStateManager where only the .get, .watch and .wait methods are available.
In React, we would useSimpleStateValue to subscribe to the changes of this read-only State Manager as demonstrated in the example below: