Skip to content

Conversation

@noamr
Copy link
Collaborator

@noamr noamr commented Sep 17, 2025

SSIA

@noamr noamr requested a review from vmpstr September 17, 2025 16:34
This should ideally not delay the LCP / loading experience of the new page, as the content keeps loading (and potentially prerendering) in the background.

## Phase 1: script-invoked preview
We can create this kind of seamless/instant experience without any new CSS, and potentially without needing to fully spec it normatively by changing the behavior as follows:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worried that we might be blocked by some unrelated view transition as a result of this (especially some long running one). I wonder if we can explicitly mark one as a preview transition via types or something

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worried that we might be blocked by some unrelated view transition as a result of this (especially some long running one). I wonder if we can explicitly mark one as a preview transition via types or something

Sure or call navigateEvent.startViewTransition or so

@noamr noamr merged commit 0cd9482 into main Sep 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants