Preact’s “HTM” is far superior to JSX MDX is the only tolerable way to write svelte now. Ugly arse syntax and they will keep changing it. Can’t build anything on it without inviting endless maintenance, Svelte is one man’s ego project y’all are crazy. There’s a reason Svelte still hasn’t popped in Commercial.
@nevillebrem @b1mind JSX is awesome. In JSX, components are just functions. That's it. But in Svelte 5 you have two different things. One is called a component and another called a Snippet. They are not the same. Their TypeScript type is different. The syntax is something completely new, and you need to learn. When you want to pass a snippet to a function inside the script tag, you need to declare the snippet outside the script tag (and inside the template part) and then reference it inside the function inside the script tag. In JSX, it's just as simple as using functions. There is no new and weird things to learn. It's just JavaScript. In Svelte, you can't have a prop that accepts both the `Component` and `Snippet` types. The way that Components and Snippets work are different. Because of this, when dealing with props, you most use the `` syntax for the `Component` type and the `{@render MyComponent()}` syntax for type `Snippet` type to render them. Well, you can just use a condition to check if the prop is type of `Component` or `Snippet`, right? Wrong, you can't! It's not possible to differentiate between a `Component` and a `Snippet`. In JSX, you don't face with issues and limitations like this.
bro two vids in 1 week, keep up the good work my asian G
OMG, thanks very much for this video. It helps a lot. Will use it on tuesday. Thank you very much!!!
Svelte 5 aka Vue3 from 2019 with minor API and performance differences
🧐
Definitely feels like it. Logically, I understand the changes. Syntactically it seems like regression.
Preact’s “HTM” is far superior to JSX
MDX is the only tolerable way to write svelte now.
Ugly arse syntax and they will keep changing it. Can’t build anything on it without inviting endless maintenance, Svelte is one man’s ego project y’all are crazy.
There’s a reason Svelte still hasn’t popped in Commercial.
Svelte is reinventing JSX but worse.
not at all bruh. they don't want to be jsx but sth new. sth better
@nevillebrem They don't want JSX, and as a result they built something worse.
@@babakfp why worse?
JSX is cursed af.... HTML first all day all the way.
@nevillebrem @b1mind
JSX is awesome. In JSX, components are just functions. That's it. But in Svelte 5 you have two different things. One is called a component and another called a Snippet. They are not the same. Their TypeScript type is different. The syntax is something completely new, and you need to learn. When you want to pass a snippet to a function inside the script tag, you need to declare the snippet outside the script tag (and inside the template part) and then reference it inside the function inside the script tag. In JSX, it's just as simple as using functions. There is no new and weird things to learn. It's just JavaScript.
In Svelte, you can't have a prop that accepts both the `Component` and `Snippet` types. The way that Components and Snippets work are different. Because of this, when dealing with props, you most use the `` syntax for the `Component` type and the `{@render MyComponent()}` syntax for type `Snippet` type to render them. Well, you can just use a condition to check if the prop is type of `Component` or `Snippet`, right? Wrong, you can't! It's not possible to differentiate between a `Component` and a `Snippet`.
In JSX, you don't face with issues and limitations like this.
Install Arch Linux and delete GayOs 😡🤬
😂
GayOS? Lol who hurt you
@pookiepats it's alright he's a friend 😂
@@nevillebrem nah fck that!
;)