Skip to content

fix: update REPL embed version to Svelte 5#2018

Open
Pika-pikachu30 wants to merge 1 commit into
sveltejs:mainfrom
Pika-pikachu30:fix-1968-blog-snippet
Open

fix: update REPL embed version to Svelte 5#2018
Pika-pikachu30 wants to merge 1 commit into
sveltejs:mainfrom
Pika-pikachu30:fix-1968-blog-snippet

Conversation

@Pika-pikachu30
Copy link
Copy Markdown

Fixes #1968

The blog post example uses Svelte 5 syntax, but the embedded REPL was loading Svelte 3 (?version=3).

This updates the embed URL to use Svelte 5 (?version=5) so the REPL matches the example code.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

@Pika-pikachu30 is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

@manvankaliber
Copy link
Copy Markdown

As I just commented in the issue, shouldn't the code snippet be reverted back to Svelte 3/4 syntax instead?

Full comment here: #1968 (comment)

@Pika-pikachu30
Copy link
Copy Markdown
Author

I'd say that reverting to Svelte 3/4 code wouldn't be the right move becuase the decision to use Svelte 5 syntax in this blog post was already made in PR #294, which migrated examples across the site and also that PR was merged by the maintainers. thats why i think we should change here also to Svelte 5.

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.

Broken code snippet in blog

2 participants