Skip to content

Sync svelte docs #944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions apps/svelte.dev/content/docs/svelte/98-reference/20-svelte.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ for more info.

<blockquote class="tag deprecated note">

Use `Component` instead. See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes) for more information.
Use `Component` instead. See [migration guide](/docs/svelte/v5-migration-guide#Components-are-no-longer-classes) for more information.

</blockquote>

Expand All @@ -174,7 +174,7 @@ class SvelteComponentTyped<

<blockquote class="tag deprecated note">

Use [`$effect`](https://svelte.dev/docs/svelte/$effect) instead
Use [`$effect`](/docs/svelte/$effect) instead

</blockquote>

Expand All @@ -198,7 +198,7 @@ function afterUpdate(fn: () => void): void;

<blockquote class="tag deprecated note">

Use [`$effect.pre`](https://svelte.dev/docs/svelte/$effect#$effect.pre) instead
Use [`$effect.pre`](/docs/svelte/$effect#$effect.pre) instead

</blockquote>

Expand All @@ -222,7 +222,7 @@ function beforeUpdate(fn: () => void): void;

<blockquote class="tag deprecated note">

Use callback props and/or the `$host()` rune instead — see [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Event-changes-Component-events)
Use callback props and/or the `$host()` rune instead — see [migration guide](/docs/svelte/v5-migration-guide#Event-changes-Component-events)

</blockquote>

Expand Down Expand Up @@ -597,7 +597,7 @@ The custom element version of the component. Only present if compiled with the `

In Svelte 4, components are classes. In Svelte 5, they are functions.
Use `mount` instead to instantiate components.
See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes)
See [migration guide](/docs/svelte/v5-migration-guide#Components-are-no-longer-classes)
for more info.

</blockquote>
Expand Down