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

Svelte 5 : Bring HTML Support Back to Svelte! PLEASE! #9477

Closed
svelteagen opened this issue Nov 15, 2023 · 3 comments
Closed

Svelte 5 : Bring HTML Support Back to Svelte! PLEASE! #9477

svelteagen opened this issue Nov 15, 2023 · 3 comments
Labels

Comments

@svelteagen
Copy link

svelteagen commented Nov 15, 2023

Describe the bug

You got rid of body/html tags, javascript functions, and force people to use Svelte's on:click={function} instead of onclick="function()". REVERT THE CHANGE!

I want to use HTML in Svelte, not Svelte in Svelte. This worked until Svelte 5. Pleaseeeeeeee fix it.

Svelte was initially loved for its HTML support something other frameworks didn't have. Now Svelte just sucks.

This is the WORST decision ya'll have EVER made. I HATE IT.

What happened to the flexibility of Svelte with HTML? Svelte is just React now.

If it's not broke, don't fix it. My app worked great until switching to Svelte 5.

I have to rewrite my ENTIRE app because of this. Might as well go back to HTML and forget Svelte.

Who decided this would be a good change?! Like WHAT?! This is WHY I chose Svelte!

We shall rise up and revolt as the Svelte community until the team changes this.

This needs reverted today. Or as soon as possible in an emergency update.

Reproduction

.

Logs

No response

System Info

Windows 10

Severity

blocking all usage of svelte

@svelteagen svelteagen changed the title Bring HTML Support Back to Svelte! PLEASE! Svelte 5 : Bring HTML Support Back to Svelte! PLEASE! Nov 15, 2023
@benmccann
Copy link
Member

You got rid of body/html tags, javascript functions, and force people to use Svelte's on:click={function} instead of onclick="function()".

I have no idea what you're referring to with the first two and the last one you got half backwards - we're replacing the non-standard on:click with onclick

I have to rewrite my ENTIRE app because of this.

If you have to rewrite your entire app because you can't use string onclick handlers then your whole app probably needed a rewrite anyway.

I just upgraded my site to Svelte 5 and didn't have to change a line of code. Additionally, we will be offering migration tooling after the final version comes out.

@benmccann
Copy link
Member

Closing as duplicate of #9437

@Rich-Harris
Copy link
Member

If you continue to make unhinged rants like this, you will be banned from the organisation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants