-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Why not JSX? #2509
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
Comments
What !!! Is this even a question ??? 🙈🙈🙈 |
@developit would like to share some thoughts about this question ? 😅😊 |
directly followed by
|
because the code get even more smaller with CS removing let and even the semicolon 🎉
so that even Hello World program can get smaller 🌠 |
New blog post name : Why not X? @Rich-Harris it's better this way so that it answers all questions 🖖 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@Rich-Harris
No, this blog post should be: PS: Thanks Rich, Svelte v3 brings fun back to development. Write Less Code, Get More Done 💯 |
Btw, about TS, you can try this: svelte-ts-preprocess. Example of usage included in monorepo. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I don't know if Rich meant for this to become a discussion issue but I just thought I'd say: Svelte could never use JSX, it fundamentally wouldn't work because JSX is just sugar over render functions. This wouldn't work for Svelte. When Rich does get around to writing this article, I think we'll see the main reason Svelte doesn't use JSX is technical. |
Hey chill out everyone. Rich being bored of answering this question does not mean let's have a bunch of opinions about something that is already settled. |
Happily, most people are also bored of asking it. All you have to do is wait 5 years, it turns out |
I really need to write this blog post, because I'm bored of answering this question
The text was updated successfully, but these errors were encountered: