Skip to content
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

chore: update links to preview site #14001

Merged
merged 4 commits into from
Oct 28, 2024
Merged

chore: update links to preview site #14001

merged 4 commits into from
Oct 28, 2024

Conversation

benmccann
Copy link
Member

@benmccann benmccann commented Oct 28, 2024

closes #13982

I just deleted the link for untrack because I couldn't find someplace new to point it. It seems we don't have an example of using it. Perhaps someone can add an example inline later or something

Copy link

changeset-bot bot commented Oct 28, 2024

🦋 Changeset detected

Latest commit: 4e64a22

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link

pkg-pr-new bot commented Oct 28, 2024

pnpm add https://pkg.pr.new/svelte@14001

commit: 4e64a22

@Leonidaz
Copy link

this was the example used for untrack()

<script>
	import { untrack } from 'svelte';

	let { a, b } = $props();

	$effect(() => {
		// this will run when `a` changes,
		// but not when `b` changes
		console.log(a);
		console.log(untrack(() => b));
	});
</script>

from wayback machine: https://web.archive.org/web/20240922152341/https://svelte-5-preview.vercel.app/docs/imports

screenshot:

image

Copy link
Member

@Conduitry Conduitry left a comment

Choose a reason for hiding this comment

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

This affects published types and compiler errors, so should have a changeset and be a 'fix' or maybe a 'chore'.

@benmccann benmccann merged commit 07219f1 into main Oct 28, 2024
10 checks passed
@benmccann benmccann deleted the preview-links branch October 28, 2024 23:00
@github-actions github-actions bot mentioned this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: Links pointing to old Svelte 5 preview site
4 participants