Re:Svelte and TypeScript
by nojvek on Wednesday July 22, 2020 @02:28AM
(#23914471)
Svelte is nice, but man I just want to use JSX. Don’t make me learn another templating language.
[ Parent
| on HN ]
Svelte will never have JSX, not natively anyway. It's completely against the philosophy.
Not all of us think JSX is a great thing. The "templating" language in Svelte isn't really a templating language at all, it's just Javascript with some (unavoidable) helpers. It takes about 2 minutes to learn since there are really only maybe 5 helpers.
Svelte templates aren't really a new language, it's just HTML where you can sprinkle in some curly braces to insert variables or js code.
Re:Svelte and TypeScript
by aabbcc1241 on Saturday July 25, 2020 @12:50PM
(#23950609)
You can dev Svelte in TSX with svelte-draft