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 ebdde8f commit 20ad18fCopy full SHA for 20ad18f
.changeset/heavy-bobcats-begin.md
@@ -0,0 +1,5 @@
1
+---
2
+"@solidjs/router": patch
3
4
+
5
+only clear completed actions on navigation
src/routing.ts
@@ -330,7 +330,7 @@ export function createRouterContext(
330
setReference(lastTransitionTarget.value);
331
setState(lastTransitionTarget.state);
332
resetErrorBoundaries();
333
- if (!isServer) submissions[1]([]);
+ if (!isServer) submissions[1](subs => subs.filter(s => s.pending));
334
}).finally(() => {
335
if (lastTransitionTarget !== newTarget) return;
336
0 commit comments