In the documentation, one point is unclear, which left me a bit puzzled. This addition should provide clarity.
Background: Overwriting OnInitialized overwrites the Fluxor implementation that registers the StateHandler. If you overwrite this method without calling base.OnInitialized, the component will not be correctly notified about state changes even if inherited from the class.
However, this is not a problem with OnInitializedAsync, since this is not implemented by Fluxor.
In the documentation, one point is unclear, which left me a bit puzzled. This addition should provide clarity.
Background: Overwriting OnInitialized overwrites the Fluxor implementation that registers the StateHandler. If you overwrite this method without calling base.OnInitialized, the component will not be correctly notified about state changes even if inherited from the class.
However, this is not a problem with OnInitializedAsync, since this is not implemented by Fluxor.