Svelte 5 Surprised Me

preview_player
Показать описание
Huge congrats to the Svelte team for this release!!! More like Solid is almost always a good thing, so I'm pretty hyped about this change

S/O Ph4seOn3 for the awesome edit 🙏
Рекомендации по теме
Комментарии
Автор

we would be on mars by now if svelte was how the dom originally worked

robolist
Автор

Can't help noticing the similarities to Vue 3, which is certainly not a bad thing

benkolya
Автор

I actually think svelte 5's syntax is much more similar to Vue's composition API than anything. Lotta good improvements, will be interesting to test it out. I'm also curios if TS works better in Svelte these days. That's one of the biggest reasons I love JSX templating, the TS always seems to work better for me, I assume because Vue/Svelte have to manage there own LSP.

masonsten
Автор

Definitely do a "playing with Svelte 5" vid

jacoblockwood
Автор

So excited to upgrade all my stupid sites to the new dope version lol

jacoblockwood
Автор

“Svelte is becoming React” “Svelte is becoming Solid” “Svelte is becoming Vue”

sahiltrivedi
Автор

I'm also hyped for Svelte 5, but I love Svelte 4 and I never got the argument that is not JavaScript, implying that React somehow just is. How can people claim that JSX "is" JavaScript is beyond me.
In that example, what does it tell you that "count" is updated in the DOM? You are literally mutating its value! Not such a stretch of the imagination.

oidualx
Автор

I can't wait for svelte 6:

const [$data, $setData] = $state("test")

hicoop
Автор

Yes, do more videos on Svelte and trying things out with Svelte 5... We're switching a legacy site from backbone/marionette to Svelte and would I'd like to see your thoughts on it once you have a chance to try it out... anyways, keep up the good work and content :)

stevewinner
Автор

It’s really incredible how you can read through and understand documentation so quickly and with such eloquence. As a Junior dev, I hope I can read docs as quickly as you & understand them like this someday 🤞

Fruitdev
Автор

I was wondering what's Theo's thoughts on Svelte 5 and runes. Now I'm wondering what you'll do when you first get your hands on it. Yes, absolutely make a video, preferably as you first try it out. Personally, I'm kind of hyped.

tedspens
Автор

Yes, to more content about Svelte. Looks like it has a lot of traction these dayd

al
Автор

Similar to Vue $derived in Svelte can be seen as computed in Vue...
Also $effect can be seen as watchEffect in Vue ...

djpunisha
Автор

this looks more like, not React, no Solid, but Vue

LookRainy
Автор

Would love to see a video where you explore using runes in Svelte 5!

tanotive
Автор

Svelte 5 is cementing my belief in Solid's future being brightest. Runes are effectively signals. So not only is "svelte becoming react" but its also becoming Solid.

EDIT: oh he says it too at 4:10 - dammit, why'd I comment before watching the video.

Metruzanca
Автор

Solidjs syntax doesn't even need a compiler for this exact thing to work. One can use solid signals like a library in any project. You should do more with solidjs since it's technically way more superior than svelte which is more hype than anything

josephs
Автор

Svelte 5 looks a bit like Vue. $derived looks like computed, $effect looks like watchEffect. But overall looks great, going to give it a shot

ZyncInteractive
Автор

Svelte is amazing... was amazing. Just like Vue, Svelte had an original and unique idea of how to handle state and build pages. It was its own thing, different from Angular/React/Vue. But now, just like Vue 3, Svelte 5 is slowly changing into React. This thing about "$derived", "$state", "$effect", is all just React useMemo, useState, useEffect. Vue stopped being Vue on version 3, and so its originallity lasted 2 versions (up to Vue 2). Now Svelte's originallity would've lasted 4 versions, because version 5 just proved, yet again, that React has been right all along. Two amazing frameworks, Vue and Svelte, who started gorgeouslly doing their own thing and making devs around the world fall in love and have faith in modern JS, have now copied React and become what they were originally trying to defeat. What a sad time for all JS devs. I'll have to keep with Svelte 3/4, just like I've kept with Vue 2. Knockout was right all along. Svelte... was amazing.

Jeff-co.
Автор

Would love to see more Svelte content out of curiosity

_ryaaan