The settings are loaded when the Setting component is constructed.
This is slightly better than in DidMount but it is still too slow and we can see the settings getting refreshed.
Possible solution would be to load the initial status in the HomeDispatcher and send them to the child components at props.
Maybe the Home dispatcher should also handle the listeners ?
The settings are loaded when the Setting component is constructed. This is slightly better than in DidMount but it is still too slow and we can see the settings getting refreshed.
Possible solution would be to load the initial status in the HomeDispatcher and send them to the child components at props.
Maybe the Home dispatcher should also handle the listeners ?