4 ms·
> Svelte is just JavaScript I would argue very much against that: Svelte looks like Javascript, but behaves completely different. I don't think it's a bad thin
by lights0123 5y ago
> Svelte is just JavaScript
I would argue very much against that: Svelte looks like Javascript, but behaves completely different. I don't think it's a bad thing, and quite enjoy it, but I don't think it's valid to call a language that happens to be valid JS syntactically actually JS.
> It is trivial to use any JavaScript library because it requires no integration wrapper to convert that library to Svelte. Just use it as you would without Svelte.
What do you mean by this? Of course you can use a standard JS library with any other framework! What makes Svelte different here?
- Sammi 5y ago"Svelte looks like Javascript, but behaves completely different" No. This is complete and absolute FUD that you are spouting. Svelte adds a thin feature or two on top of vanilla Javascript. The rest is just JS exactly like you know it.
- xrd 5y agoThis. You can see what Svelte creates inside the tutorial. It's very simple JavaScript. With React or Vue, you are pulling a bunch of stuff written in a DSL into their massive runtime. Try keeping all that complexity for that runtime in your head.