Skip to content

feat(router): make view transitions opt-in via the viewTransition prop - #8778

Merged
maiieul merged 5 commits into
build/v2from
claude/crazy-goodall-cabcd6
Jul 2, 2026
Merged

maiieul merged 5 commits into
build/v2from
claude/crazy-goodall-cabcd6

Conversation

@maiieul

@maiieul maiieul commented Jun 26, 2026

Copy link
Copy Markdown
Member

What is it?

  • Feature / enhancement

Description

View transitions on SPA navigation are now opt-in. viewTransition defaults to false — set <QwikRouterProvider viewTransition={true}> to enable. Default-on caused slowness and de-synced transitions with SPA navigation + Suspense.

maiieul added 2 commits June 26, 2026 18:49
Default flips from true to false. Default-on caused slowness and
de-synced transitions with SPA navigation + Suspense. Opt in with
<QwikRouterProvider viewTransition={true}>.
@maiieul
maiieul requested review from a team as code owners June 26, 2026 17:02
@changeset-bot

changeset-bot Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4ec962b

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

This PR includes changesets to release 5 packages
Name Type
@qwik.dev/router Major
eslint-plugin-qwik Major
@qwik.dev/core Major
create-qwik Major
@qwik.dev/react Major

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 self-assigned this Jun 26, 2026
@maiieul maiieul moved this from Backlog to Waiting For Review in Qwik Development Jun 26, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@qwik.dev/core

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

@qwik.dev/router

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

eslint-plugin-qwik

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

create-qwik

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

@qwik.dev/optimizer

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

@qwik.dev/devtools

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

commit: 4ec962b

@maiieul
maiieul marked this pull request as draft June 26, 2026 17:08
@maiieul maiieul moved this from Waiting For Review to In progress in Qwik Development Jun 26, 2026
@github-actions

github-actions Bot commented Jun 26, 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 4ec962b

…none

The stylesheet is now added on the client only when a transition runs,
instead of via useStyles$ on every SSR render. Opt-out apps get no
view-transition <style> at all.
@maiieul
maiieul marked this pull request as ready for review June 26, 2026 19:21
@maiieul maiieul moved this from In progress to Waiting For Review in Qwik Development Jun 26, 2026
Comment thread .changeset/opt-in-view-transition.md Resolved
@maiieul
maiieul enabled auto-merge July 2, 2026 14:21
@maiieul
maiieul merged commit 2a2e355 into build/v2 Jul 2, 2026
48 checks passed
@maiieul
maiieul deleted the claude/crazy-goodall-cabcd6 branch July 2, 2026 14:32
@github-project-automation github-project-automation Bot moved this from Waiting For Review to Done in Qwik Development Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants