From 7113fe7e31080b0efdf6132e440b9ec1569e8f37 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 8 Apr 2020 16:24:40 +0100 Subject: [PATCH] comments Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/vector/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vector/index.ts b/src/vector/index.ts index f95cbc493a..cd33ab3236 100644 --- a/src/vector/index.ts +++ b/src/vector/index.ts @@ -79,6 +79,8 @@ function checkBrowserFeatures() { // React depends on Map & Set which we check for using modernizr's es6collections // if modernizr fails we may not have a functional react to show the error message. // try in react but fallback to an `alert` +// We start loading stuff but don't block on it until as late as possible to allow +// the browser to use as much parallelism as it can. async function start() { // load init.ts async so that its code is not executed immediately and we can catch any exceptions const { @@ -97,7 +99,6 @@ async function start() { await settled(rageshakePromise); // give rageshake a chance to load/fail - const fragparts = parseQsFromFragment(window.location); // don't try to redirect to the native apps if we're