Skip to content

docs: add SPA tab-isolation guidance#1203

Open
hiSandog wants to merge 1 commit intovercel-labs:mainfrom
hiSandog:docs/spa-tab-isolation-20260409-fa043a4
Open

docs: add SPA tab-isolation guidance#1203
hiSandog wants to merge 1 commit intovercel-labs:mainfrom
hiSandog:docs/spa-tab-isolation-20260409-fa043a4

Conversation

@hiSandog
Copy link
Copy Markdown

@hiSandog hiSandog commented Apr 9, 2026

Summary

Adds a short documentation pattern for SPA result/detail workflows where accessibility refs can become stale after navigating back.

Changes

  • add a SPA Detail Pages section to README.md
  • add the same guidance to docs/src/app/snapshots/page.mdx
  • recommend keeping the source tab on the list page and opening detail pages with click --new-tab
  • show the minimal snapshot -> click --new-tab -> tab close -> re-snapshot workflow

Why

On dynamic SPAs, returning with back() can re-render the source list and invalidate previously captured refs. Keeping the list page stable in tab 0 is a small but reliable workflow improvement for search results, infinite-scroll feeds, and modal-heavy apps.

Related: #853

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 9, 2026

Someone is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant