Skip to content

Commit 7113fe7

Browse files
committed
comments
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 719865c commit 7113fe7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vector/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ function checkBrowserFeatures() {
7979
// React depends on Map & Set which we check for using modernizr's es6collections
8080
// if modernizr fails we may not have a functional react to show the error message.
8181
// try in react but fallback to an `alert`
82+
// We start loading stuff but don't block on it until as late as possible to allow
83+
// the browser to use as much parallelism as it can.
8284
async function start() {
8385
// load init.ts async so that its code is not executed immediately and we can catch any exceptions
8486
const {
@@ -97,7 +99,6 @@ async function start() {
9799

98100
await settled(rageshakePromise); // give rageshake a chance to load/fail
99101

100-
101102
const fragparts = parseQsFromFragment(window.location);
102103

103104
// don't try to redirect to the native apps if we're

0 commit comments

Comments
 (0)