Skip to content

fix: prevent stale loader and action results during route transitions - #9006

Open
Varixo wants to merge 1 commit into
mainfrom
fix-loaders-edge-cases
Open

fix: prevent stale loader and action results during route transitions#9006
Varixo wants to merge 1 commit into
mainfrom
fix-loaders-edge-cases

Conversation

@Varixo

@Varixo Varixo commented Sep 10, 2026

Copy link
Copy Markdown
Member
  • Prevented stale loader and action responses from overwriting newer results or triggering outdated redirects
  • Preserved shared loader signals and disposed loaders belonging to departed routes
  • Fixed overlapping navigation, cancellation, and restoration of committed loader state
  • Corrected loader metadata for nested routes, named layouts, layout stops, and rewrites
  • Fixed computed cleanup with concurrent jobs, preventing missed cleanup and late updates after disposal
  • Preserved encoded parameters in rewritten loader URLs
  • Simplified action submission tracking to a local object shared by the submit QRL

@Varixo Varixo self-assigned this Sep 10, 2026
@Varixo
Varixo requested review from a team as code owners September 10, 2026 19:47
@changeset-bot

changeset-bot Bot commented Sep 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3b7b79e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@qwik.dev/router Patch
@qwik.dev/core Patch
eslint-plugin-qwik Patch
@qwik.dev/devtools Patch
@qwik.dev/react Patch
@qwik.dev/utils Patch
create-qwik Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@maiieul maiieul moved this to Waiting For Review in Qwik Development Sep 10, 2026
@Varixo
Varixo force-pushed the fix-loaders-edge-cases branch from c9fe036 to 0437eb5 Compare September 10, 2026 19:52
@pkg-pr-new

pkg-pr-new Bot commented Sep 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

@qwik.dev/core

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@9006

@qwik.dev/router

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@9006

@qwik.dev/utils

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/utils@9006

eslint-plugin-qwik

npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@9006

create-qwik

npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@9006

@qwik.dev/optimizer

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/optimizer@9006

@qwik.dev/devtools

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/devtools@9006

commit: 3b7b79e

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 3b7b79e

@Varixo
Varixo force-pushed the fix-loaders-edge-cases branch from 0437eb5 to 6712d39 Compare September 10, 2026 20:09
@Varixo
Varixo force-pushed the fix-loaders-edge-cases branch from 6712d39 to 3b7b79e Compare September 10, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting For Review

Development

Successfully merging this pull request may close these issues.

2 participants