We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb16a8f commit 721b532Copy full SHA for 721b532
.changeset/shy-clocks-smoke.md
@@ -0,0 +1,5 @@
1
+---
2
+'@sveltejs/kit': patch
3
4
+
5
+fix: discard preload fork before creating a new one
packages/kit/src/runtime/client/client.js
@@ -514,6 +514,8 @@ async function _preload_data(intent) {
514
// then a later one is becoming the real navigation and the preload tokens
515
// get out of sync.
516
if (intent.id !== load_cache?.id) {
517
+ discard_load_cache();
518
519
const preload = {};
520
preload_tokens.add(preload);
521
load_cache = {
0 commit comments