I've been trying to troubleshoot a performance issue we have in our application on iniital load.
When the page first loads the user sees a blank white screen for 4-5 seconds before our app actually begins loading.
Initially we thought it might have been a problem with our bundle size, and while I'm not thrilled with how large it is we can see from the network tab that it completes the requests, and then goes idle for the ~4-5 second window before we then start seeing it then paint and load the rest of the application.
I'm kind of at a loss for what could be happening in that time window, we don't have any code seeming to run, other than brief Task markers that appear in the performance tab that take like 40-80 microseconds each, and then I can see the _moduleDoBootstrap call and calls for createRootComponent and such, all of which are reasonable fast.