svelte-rendering-delay-repro Svelte Themes

Svelte Rendering Delay Repro

This is a project that reproduces a bug with the history API in Chrome with Svelte.

Start the project with:

npm install
npm run dev

To reproduce the bug, open the app in your browser. Once it's open, refresh. You will notice there will be a delay in the rendering of the app of about 700ms.

To prevent the bug, close the current tab, delete or comment this line, and then open a new tab with the app. Now refreshing will be instant, as expected.

Top categories

Loading Svelte Themes