faameunier / tk-chrome

Tabby (aka project tabkiller) is a Chrome extension that aims at automatically deleting all your useless tabs.
https://www.tabby.us/
0 stars 0 forks source link

[Front] When switching to settings, things are moving #94

Closed faameunier closed 3 years ago

faameunier commented 4 years ago

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 ?