Skip to content

docs: clarify mounting components with context#18515

Open
Sushanth012 wants to merge 1 commit into
sveltejs:mainfrom
Sushanth012:docs-context-mounting-clarification
Open

docs: clarify mounting components with context#18515
Sushanth012 wants to merge 1 commit into
sveltejs:mainfrom
Sushanth012:docs-context-mounting-clarification

Conversation

@Sushanth012

Copy link
Copy Markdown

Closes #18462.

Summary:

  • Renames the context docs section from Component testing to Mounting components with context.
  • Clarifies that wrapper-provided context is scoped to the mounted component tree and does not leak across separate mount, hydrate, or render calls.

Validation:

  • git diff --check
  • pnpm dlx prettier@3.2.4 --check documentation/docs/06-runtime/02-context.md

Notes:

  • Docs-only change; full pnpm test and pnpm lint were not run in this sparse clone.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Jul 8, 2026

Copy link
Copy Markdown

Install the latest version of svelte from 9ef7778:

pnpm add https://pkg.svelte.dev/svelte/c/9ef7778da7988cbbe41eb83668e73cc13d6298d2

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/svelte/pr/18515

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 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9ef7778

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

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.

Docs: "Component testing" of "Context" article edits

1 participant