Skip to content

docs: explain what happens when navigating back to a shallow entry - #16563

Merged
Rich-Harris merged 2 commits into
sveltejs:version-3from
Nic-Polumeyv:docs-shallow-back-navigation
Jul 30, 2026
Merged

docs: explain what happens when navigating back to a shallow entry#16563
Rich-Harris merged 2 commits into
sveltejs:version-3from
Nic-Polumeyv:docs-shallow-back-navigation

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Contributor

Going back or forward to a shallow entry restores the state and renders the page you were on when you called goto, while the address bar keeps the pushed URL. The page documents that split for the live case and for reloads, but not for back/forward, which is where #11465, #11503 and #11671 all landed.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

Tests

  • Run the tests with pnpm test and lint the project with pnpm lint and pnpm check
    • docs only

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.
    • docs only

Edits

  • Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Jul 29, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from a4fbd83:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/a4fbd83528aa215e237029e38ecaf777053bdfd8

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16563

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a4fbd83

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@Rich-Harris Rich-Harris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice

@Rich-Harris
Rich-Harris merged commit f2ccad5 into sveltejs:version-3 Jul 30, 2026
2 of 3 checks passed
@Nic-Polumeyv
Nic-Polumeyv deleted the docs-shallow-back-navigation branch July 30, 2026 22:52
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.

2 participants