Track final loading event
Reviewed By: lblasa Differential Revision: D50121103 fbshipit-source-id: 1f67bf475b6b7b68db3d63dab5a05cccde4c121b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
aea57a44a2
commit
16b3edacb1
@@ -159,6 +159,10 @@ function init(flipperServer: FlipperServer) {
|
||||
await dispatcher(store, logger);
|
||||
getRenderHostInstance().sendIpcEvent('storeRehydrated');
|
||||
uiPerfTracker.track('ui-perf-store-rehydrated');
|
||||
// We could potentially merge ui-perf-store-rehydrated and ui-perf-everything-finally-loaded-jeeeez,
|
||||
// but what if at some point in the future we relalize that store rehydration is not actually the last event?
|
||||
// Keep it separate for the time being (evil laugh as there is nothing more permanent than temporary stuff)
|
||||
uiPerfTracker.track('ui-perf-everything-finally-loaded-jeeeez');
|
||||
});
|
||||
|
||||
setPersistor(persistor);
|
||||
|
||||
Reference in New Issue
Block a user