René's URL Explorer Experiment


Title: Pages router: API for shallow routing · Issue #833 · voidzero-dev/void · GitHub

Open Graph Title: Pages router: API for shallow routing · Issue #833 · voidzero-dev/void

X Title: Pages router: API for shallow routing · Issue #833 · voidzero-dev/void

Description: Void version: 1.9.1, affecting every adapter Use case The simplest that I hit: A page has multiple side panels with info. Which panel is open depends on the query string (/page?panel=X), so the view can be shared and other pages can link...

Open Graph Description: Void version: 1.9.1, affecting every adapter Use case The simplest that I hit: A page has multiple side panels with info. Which panel is open depends on the query string (/page?panel=X), so the vie...

X Description: Void version: 1.9.1, affecting every adapter Use case The simplest that I hit: A page has multiple side panels with info. Which panel is open depends on the query string (/page?panel=X), so the vie...

Opengraph URL: https://github.com/voidzero-dev/void/issues/833

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pages router: API for shallow routing","articleBody":"**Void version:** 1.9.1, affecting every adapter\n\n## Use case\n\nThe simplest that I hit: A page has multiple side panels with info. Which panel is open depends on the query string (`/page?panel=X`), so the view can be shared and other pages can link to it.\nThe server ignores the param: it's left out of `revalidateQueryAllowlist`, so every variant shares one ISR entry, and the panel opens on the client.\n\nWhen the user opens, switches or closes a panel, `?panel=` should change in place: no new history entry, no request, no re-render.\n\n## Current status with today's API\n\nThe only Void way to change the query is\n\n```ts\nrouter.visit(url, { replace: true, preserveState: true, preserveScroll: true });\n```\n\nwhich is a full GET navigation. For state the server doesn't render, that means:\n\n- **The page data is fetched again on every change**, in our case that's about 122 KB except the exact entry was cached already.\n- **Deferred props go back to loading**, which would include our panel.\n\nSo instead of using it we fall back to the raw `history.replaceState`. That works, but the router no longer matches the address bar: `useRouter().url` / `.query` keep reporting the old query until the next navigation.\n\n## API Proposal\n\nSomething like\n\n```ts\nrouter.replaceUrl(url); // or router.visit(url, { replace: true, shallow: true })\n```\n\nThis would:\n\n- write history (replace, or push as an option),\n- update the router's route state\n- keep scroll-restoration bookkeeping in step,\n- does **not** fetch, re-render, or touch deferred props.\n\nThis is similar to what other meta frameworks do, e.g.  SvelteKit's `replaceState` or Next.js's shallow routing.","author":{"url":"https://github.com/TheAlexLichter","@type":"Person","name":"TheAlexLichter"},"datePublished":"2026-11-14T23:08:10Z","url":"https://github.com/voidzero-dev/void/issues/833"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7e04ca42-111d-7c94-649d-a0deb22b7c8b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE396:35E137:1FB508:2B3D82:6AFB8BB0
html-safe-nonce7b5ab8456c4a1b1d34078cd9540b3693ac4b007be38d762b62b609254fa66e57
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzk2OjM1RTEzNzoxRkI1MDg6MkIzRDgyOjZBRkI4QkIwIiwidmlzaXRvcl9pZCI6IjQ4NjA0OTM5NDcwOTk5MDMyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbe5a091353c8803e9e82dd945671e3c57f00f577d3482f8a58e734073eb7b461
hovercard-subject-tagissue:6397200453
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/voidzero-dev/void/833/issue_layout
twitter:imagehttps://opengraph.githubassets.com/edbf0c155ec32d7a23075f8dc9f233628ab49636f41372f02e2f2a5eba2fe60e/voidzero-dev/void/issues/833
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/edbf0c155ec32d7a23075f8dc9f233628ab49636f41372f02e2f2a5eba2fe60e/voidzero-dev/void/issues/833
og:image:altVoid version: 1.9.1, affecting every adapter Use case The simplest that I hit: A page has multiple side panels with info. Which panel is open depends on the query string (/page?panel=X), so the vie...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTheAlexLichter
hostnamegithub.com
expected-hostnamegithub.com
None9694464143465782ecae2a97650b2a2b0708d5c31c74f41ee86da57e315e2735
turbo-cache-controlno-preview
go-importgithub.com/voidzero-dev/void git https://github.com/voidzero-dev/void.git
octolytics-dimension-user_id149750581
octolytics-dimension-user_loginvoidzero-dev
octolytics-dimension-repository_id1164437080
octolytics-dimension-repository_nwovoidzero-dev/void
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1164437080
octolytics-dimension-repository_network_root_nwovoidzero-dev/void
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release05d967182208691fc7f2e6af52e82fa7fabf6bd5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/voidzero-dev/void/issues/833#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F833
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvoidzero-dev%2Fvoid%2Fissues%2F833
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=voidzero-dev%2Fvoid
Reloadhttps://github.com/voidzero-dev/void/issues/833
Reloadhttps://github.com/voidzero-dev/void/issues/833
Reloadhttps://github.com/voidzero-dev/void/issues/833
voidzero-devhttps://github.com/voidzero-dev
voidhttps://github.com/voidzero-dev/void
Codehttps://github.com/voidzero-dev/void
Issues31 (31)https://github.com/voidzero-dev/void/issues
Pull requests16 (16)https://github.com/voidzero-dev/void/pulls
Discussionshttps://github.com/voidzero-dev/void/discussions
Actionshttps://github.com/voidzero-dev/void/actions
Security and qualityhttps://github.com/voidzero-dev/void/security
Insightshttps://github.com/voidzero-dev/void/pulse
https://github.com/voidzero-dev/void
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/833
New issuehttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/833
Pages router: API for shallow routinghttps://github.com/voidzero-dev/void/issues/833#top
https://github.com/TheAlexLichter
TheAlexLichterhttps://github.com/TheAlexLichter
on Nov 14, 2026https://github.com/voidzero-dev/void/issues/833#issue-6397200453
Sign up for freehttps://github.com/signup?return_to=https://github.com/voidzero-dev/void/issues/833
Sign in to commenthttps://github.com/login?return_to=https://github.com/voidzero-dev/void/issues/833
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.