How to make a great framework better? - Svelte 5 with Rich Harris

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 159

  • @TrostCodes
    @TrostCodes 11 месяцев назад +209

    It was a joy getting to interview Rich! Who else is excited for Runes and Svelte 5?

    • @amanksdotdev
      @amanksdotdev 11 месяцев назад +18

      everyone is excited for Svelte 5, but the real question is are you excited for jQuery v4 xD

    • @amanksdotdev
      @amanksdotdev 11 месяцев назад +1

      Great interview btw

    • @gariklaw
      @gariklaw 11 месяцев назад +1

      Excited for Svelte 6, c'mon!!

    • @YakubKristianto
      @YakubKristianto 11 месяцев назад +2

      @@amanksdotdev didn't know jQuery is still alive

    • @allo5auru5
      @allo5auru5 11 месяцев назад

      What I think we need is reactivity baked into JS. That and optional/progressive typing.

  • @diegorocha2186
    @diegorocha2186 9 месяцев назад +32

    I've been using svelte(kit) for a couple years in a real project. The experience so far is amazing, and I'm very hyped to svelte 5. Thanks Rich and Svelte community!!!

    • @shapelessed
      @shapelessed 3 месяца назад

      Svelte 5 went down hill. Sadly.

  • @jdrago999
    @jdrago999 11 месяцев назад +83

    This man, and other people like him who give the whole world the gift of their brilliance are a great example of someone who takes seriously the adage, "if you have the power, you have the responsibility." Thanks for sharing your gift, and making frontend development fun again!

    • @barspinoza
      @barspinoza 11 месяцев назад +2

      I wholeheartedly agree with the sentiment. And you said it beautifully too.

  • @leksluthor3
    @leksluthor3 7 месяцев назад +6

    I wish Rich good health and a long life. He is needed for the industry and more importantly is a good person.

  • @menumaan88
    @menumaan88 11 месяцев назад +10

    i started using svelte this week, damn its super cool its just like magic and that is what programming language should be, thanks a lot to svelte, I hope svelte becomes industry standard.

  • @arunkumarTdr
    @arunkumarTdr 11 месяцев назад +37

    Svelte changed my life too ❤

  • @havokgames8297
    @havokgames8297 6 месяцев назад +1

    I've been scouring youtube for Rich Harris interviews on Svelte 5. He is a fantastic speaker. And this is one of the best, if not best interviews yet.

  • @BhideSvelte
    @BhideSvelte 11 месяцев назад +39

    lotsssss of love from India for whole SVELTE TEAM & Prismic Team

  • @sunhyungkim5764
    @sunhyungkim5764 11 месяцев назад +14

    Always enjoying developing with svelte!😊

  • @BhideSvelte
    @BhideSvelte 11 месяцев назад +20

    I really love watching him....svelte has changed my life...

  • @johndoyle3816
    @johndoyle3816 8 месяцев назад +20

    Svelte(kit) has been absolutely the worst thing that ever happened to me, because now I hate my day job whenever I have to do something in react 😭

  • @hello_world_104
    @hello_world_104 11 месяцев назад +35

    Long live Sveltekit. Long live Rich

  • @tuannguyenanh7466
    @tuannguyenanh7466 18 дней назад

    From Vietnam with love. Svelte and SvelteKit improve my life, improving the developer's mental health.

  • @siphillis
    @siphillis 8 месяцев назад +1

    Honestly, learning that the creator of Svelte still needs to occasionally refresh himself on some implementation detail is deeply comforting.

  • @sadunozer2241
    @sadunozer2241 11 месяцев назад +19

    Rich Harris is one of the wisest developers on the market, and it’s such a blessing to have this team work on svelte. My concern at this point is people who still can’t understand why react sucks 😢

    • @scaffus
      @scaffus 11 месяцев назад +8

      Totally! I can't understand why people are so stuborn, "oh svelte(kit) is so simple it can't be good for big projects", pisses me off, always end up using nextjs with a bajilion libraries

    • @lobaco
      @lobaco 11 месяцев назад

      Your problem is to make what others think (something you cannot control) a concern of yours. There are many who love React and your whining about it here won't change it.

    • @sadunozer2241
      @sadunozer2241 11 месяцев назад

      @@lobaco dumb shit is dumb shit. And the web is full of shit built with react by people like me. Who have or had no other options because the market demanded it.
      There is not a single sane argument to running the entire vdom like a game engines tick function… but random ? Fuck off please 🙏 thank you 😊

  • @codewithguillaume
    @codewithguillaume 11 месяцев назад

    Rich is a real passionate dev. I like this!

  • @attevirtanen271
    @attevirtanen271 10 месяцев назад +5

    Amazing work! And now React 19 is bringing the compiler there. I see it as Svelte paved the way.
    Edit: React 19 will not include the compiler. However Meta is working on a compiler for React.

    • @IStMl
      @IStMl 7 месяцев назад

      No, R19 does not include the compiler

    • @attevirtanen271
      @attevirtanen271 7 месяцев назад

      @@IStMl true thanks! I will edit my comment.

  • @figloalds
    @figloalds 11 месяцев назад +10

    Seeing that this dude hates React's bullshit parts just as I do gives me double the confidence in Svelte, and I was already super into Svelte

  • @cubondemais
    @cubondemais 9 месяцев назад +1

    I've worked with Svelte for 2 years at my actual job (and a half if we count Svelte Native). I decided on using Svelte for our tech team due to the excelent DX, the great performance and minimal bundle size (bundle size was important for us and why we kinda hated React). It was great using it even with a not so conventional stack (after Svelte Native we changed to Svelte + Capacitor and some other tools that didn't integrate that great, like Storybook, but the pros still overweighted the cons) and specially creating our stack before sveltekit was a thing (I was sad when I saw it opening beta right when I'm creating the stack and not being able to use it due to not being stable enough). I really love Svelte and hope I'll use it for work someday again (my current employer uses React) and maybe Svelte 5 could help me convince the world and my employers to transition :) I'm really hyped for Svelte 5 to get out of beta.

  • @ExpertzZ
    @ExpertzZ 3 месяца назад +2

    Only having done Server side programming and never having touched React, Svelte is just so easy to start building your frontend and replaces a dedicated Back End for many cases.

  • @TheStickofWar
    @TheStickofWar 6 месяцев назад

    I’m starting a new job where I only have used Angular and React for frontend work. They use SvelteKit for their frontends. Then I see we have the main mind behind Svelte is a nice British guy- I tried out the tutorials and it was a breath of fresh air. I don’t care about the template engine haters, the templating in Svelte is minimally intrusive for the trade off of being super productive and simple to reason about.
    Look forward to learning than in tandem with Ruby on Rails

  • @smithy5760
    @smithy5760 11 месяцев назад +8

    I'm glad the frontend community has seen sense but the observer pattern has been around for a long time. Obvs with the compiler there is some nice sugar here. I always thought the React diff approach was a sales pitch that set us back so I'm glad most of the frameworks have seen sense and it also means that you can integrate using vanilla js. Not an ideal situation when you have multiple frameworks but it's good to have an option and a standard integration pattern.

    • @TrostCodes
      @TrostCodes 11 месяцев назад +2

      I hear you, I remember using observers with RxJS a few years back. It's nice to see good ideas resurface and find mass adoption.

    • @cocoscacao6102
      @cocoscacao6102 11 месяцев назад

      @@TrostCodes Angular has been doing it for almost a decade now... but I like that svelte brought signals to its ecosystem.

  • @ScriKidding-eg6vn
    @ScriKidding-eg6vn 11 месяцев назад +11

    my idol omg! when svelte native!!

    • @TrostCodes
      @TrostCodes 11 месяцев назад +1

      That's a good question, I should have had that on my list!

  • @steven11101010
    @steven11101010 9 месяцев назад +1

    Great interview and interviewer. Well done.

  • @orange-vlcybpd2
    @orange-vlcybpd2 7 месяцев назад

    Wow the man is a legend of modern web development. He had his hands on so many things.

  • @BartBlackMagic
    @BartBlackMagic 11 месяцев назад +4

    Svelte is great and definitely more user friendly than React and such. But Aurelia already achieved this many years ago. And in the details even better. Still my number 1 web framework: easy to learn, stable, fast, .. Aurelia 2 is on the horizon btw.

  • @ZakariaBoualaid
    @ZakariaBoualaid 10 месяцев назад +1

    I've been using Svelte more than a year now and I don't think I will leave it anytime soon.

  • @jaromírpražák
    @jaromírpražák 4 месяца назад

    52:10 had to write some cursed code for this to work for me few months ago - really excited about the new features!

  • @rumble1925
    @rumble1925 11 месяцев назад +2

    I used Ractive as the view part of my own SPA framework. It was really cool

  • @bl1ndguy0
    @bl1ndguy0 11 месяцев назад +26

    I want to know Rich's thoughts on HTMX hmmmmmmmm

    • @fun2rideadventure
      @fun2rideadventure 11 месяцев назад

      Why not Lit

    • @reinhardt_tv
      @reinhardt_tv 10 месяцев назад +1

      Htmx is not for complex projects

    • @smithdoesstuff
      @smithdoesstuff 5 месяцев назад

      @@reinhardt_tvreal question, what’s that take based on?

    • @reinhardt_tv
      @reinhardt_tv 5 месяцев назад

      @@smithdoesstuff because people primarily use htmx to render straightforward cruds

    • @reinhardt_tv
      @reinhardt_tv 5 месяцев назад

      @@smithdoesstuff would be really wacky to write any complex logic in a huge and dynamic project

  • @n3x404
    @n3x404 11 месяцев назад

    Amazing, such inspiring, Thank you !🙌

  • @jkibble98
    @jkibble98 11 месяцев назад +4

    I like the idea of runes just being a signal to the complier to do the thing. That will fix a bunch problems I've recently run into. However couldn't the same functionality also be created with type annotations or jsdoc comments?

    • @didiercatz
      @didiercatz 5 месяцев назад

      Tying behaviour to types or comments is generally a bad and risky idea. I'm not sure if you were around during the first announcement in the Svelte Discord, but this really is a good design out of the 50 options they tried. Every user tried to reason different ideas, but eventually even they landed back at this implementation.

  • @YanickSteinbeck
    @YanickSteinbeck 6 месяцев назад

    Love svelte and sveltekit! Been using it in production for many years now, made me like frontend again

  • @ozgurNY
    @ozgurNY 6 месяцев назад

    Reading Svelte 4 code is a joy. Svelte 5, on the other hand, is a hell next to React

  • @hello_world_104
    @hello_world_104 11 месяцев назад +11

    Rich is like a Harry Potter hourcrux for me. If he is harmed then part of me is harmed

    • @danvilela
      @danvilela 11 месяцев назад +1

      Lol 😂

  • @grinsk3ks
    @grinsk3ks 11 месяцев назад +4

    how is runes being part of the language "svelte" better than vue's ref or preacts signal being part of the language javascript?

    • @timmeehan2365
      @timmeehan2365 11 месяцев назад +4

      What he explained is that, In Svelte, there wouldn't be any extra layer around the reactive value.
      In Vue, you have to do smth such as count.value = count.value + 1. In Angular, it would be count.set(count() + 1).
      But they want to have something more straightforward where you just write count+=1.
      Never used Svelte but I've used Vue and Angular a lot, and it's always a bit frustrating to have that kind of syntax

    • @zayne-sarutobi
      @zayne-sarutobi 6 месяцев назад

      ​@@timmeehan2365had to make a wrapper around Vue primitives to get rid of the .value syntax😅

  • @DouglasHewitt
    @DouglasHewitt 10 месяцев назад

    Is anyone here knowledgable in both Svelte and SwiftUI? I am wondering with Signals and Runes in Svelte, what would their corollary be in SwiftUI?

  • @ramireznoy
    @ramireznoy 6 месяцев назад +1

    To Spanish speakers the name makes sense :-). We have the same word: esbelto, esbelta. With the same meaning: elegant, light, pretty...

  • @dgleitaocontratos
    @dgleitaocontratos 11 месяцев назад +1

    This is the next framework I'll try.

    • @zayne-sarutobi
      @zayne-sarutobi 6 месяцев назад

      Fr, this and solid are so high on my list

  • @jkibble98
    @jkibble98 11 месяцев назад +9

    Love that he is a tailwind convert now!

    • @TrostCodes
      @TrostCodes 11 месяцев назад

      Yeah, I was surprised to hear it! I don't think it's going to be his go-to CSS solution, but cool that he enjoyed it!

    • @supbra1
      @supbra1 11 месяцев назад

      To be precise, he stated in a Vercel team video, when asked "CSS or Tailwind" he said "neither"

  • @DanteMishima
    @DanteMishima 11 месяцев назад +2

    I appreciate what Rich is trying to do. I however - from what I've tested with Svelte 5 - say runes make thing harder for me.

    • @zayne-sarutobi
      @zayne-sarutobi 6 месяцев назад

      Care to elaborate?

    • @ozgurNY
      @ozgurNY 6 месяцев назад

      @@zayne-sarutobi Look at any Svelte 4 code that is compared to Svelte 5. You see Svelte 5 ruined Svelte experience

  • @gufoscuro
    @gufoscuro 10 месяцев назад

    Rich, just wanted to say you thanks, thanks, thanks, thanks, THANKS!

  • @jamie_SF
    @jamie_SF 8 месяцев назад +1

    Great interview

  • @jimbeenee
    @jimbeenee 11 месяцев назад +6

    In the office im known as "the" svelte guy.
    Emphasis on the "the"

    • @danvilela
      @danvilela 11 месяцев назад +1

      Me too. The other ones are react guys and “i”m the weird one 🤦🏻‍♂️

    • @TrostCodes
      @TrostCodes 11 месяцев назад +1

      They'll come around eventually.

    • @BboyKeny
      @BboyKeny 9 месяцев назад

      I've done vanilla js with php, java spring, many templating systems, jquery, backbone, callback hell, promises, async await, rxjs, angular 1, Angular, react component classes, react hooks, vue, solid and svelte.
      Would these guys respect me if I'd still be doing php and vanilla js? Would other young guys, in 10 years, respect your coworkers if they are still on react? Svelte is awesome and react changed web dev. This is all true, but isn't about building cool stuff? It's not a sport where you need to pick a vendor, be locked in and then gain status by proxy of your vendor. I'd have more respect for the guy that made a crappy react clone, than someone that shames someone else for their language or framework preferences

  • @ash8128
    @ash8128 9 месяцев назад

    50:40 Wow, I have been using iPhone for years, and I didn't know about swipe gestures for back/forward navigation in Safari. Until this video.

  • @tigermanni
    @tigermanni 10 месяцев назад

    Svelte was the first web / js framework I ever used and I tried some stuff with React and Vue later. I guess there are not a lot of people that saw svelte before the other frameworks, but for me the others just feel horrible now :D (how complicated is it to learn all the special keywords like 'v-for'??)

  • @labkitadev
    @labkitadev 11 месяцев назад +4

    svelte is very cool

  • @guillaumeamangoua
    @guillaumeamangoua 10 месяцев назад +2

    "html is actually a great starting point"
    can you hear that react ?

  • @nuvotion-live
    @nuvotion-live 11 месяцев назад +5

    All development is hard. Web dev is hard for all the wrong reasons 😂

  • @Parkuman
    @Parkuman 11 месяцев назад +2

    could listen to rich talk about anything

  • @stefanmaric
    @stefanmaric 11 месяцев назад +1

    Rich Harris is so wholesome

  • @theldentity
    @theldentity 11 месяцев назад +3

    amazing Rich! but why are you sitting so close to each other?

    • @TrostCodes
      @TrostCodes 11 месяцев назад +3

      Haha had to make it work in his apartment and stay within the frame. It felt fine at the time!

    • @edray2042
      @edray2042 11 месяцев назад

      At the beginning they say 'in his Brooklyn apartment', not 'Manhattan penthouse"!

  • @kaidoesthingsxyz
    @kaidoesthingsxyz 9 месяцев назад

    I think classes should definitely go hand in hand with runes

  • @shujaa
    @shujaa 11 месяцев назад

    Almost thought it was a y combinator video 😂 my bad. Great content though

  • @pepkin88
    @pepkin88 11 месяцев назад +2

    Regarding the name, I also for a long time had no idea that "svelte" is an English word. When I learned about this framework, I imagined that the name comes from some Scandinavian language (maybe I had this connotation, because the word started with "sve" like "svenska"). I even thought it was read like /sfelte/, so with an /e/ at the end.

    • @raph151515
      @raph151515 11 месяцев назад

      I think it comes from French which took it form Italian which took it form Latin

    • @timmeehan2365
      @timmeehan2365 11 месяцев назад

      French has the word "svelte" indeed but its presence in the English vocabulary could be related to Latin influence, like so many other words.
      And French didn't take anything from Italian per say. Like any other modern Latin language, they are descendants of older languages which can eventually be traced back to Latin (it's not just Latin -> Italian)

    • @raph151515
      @raph151515 11 месяцев назад

      the french dictionary is pretty clear as always concerning the origin@@timmeehan2365

  • @AsilbekIsmoilov-uc7pz
    @AsilbekIsmoilov-uc7pz 5 месяцев назад

    So svelte is amazing framework for beginners basic routing and easy js syntax

  • @kaxmaxkaxmax
    @kaxmaxkaxmax 9 месяцев назад +1

    I want to a live in a (web) world where Rich Harris , José Valim and Chris Mccord rules the Internet together.

  • @viniciusmachadorodrigues1724
    @viniciusmachadorodrigues1724 11 месяцев назад +1

    my biggest problem with svelte is the fact that it feels they're in a crusade against SPA.

    • @supbra1
      @supbra1 11 месяцев назад +2

      You actually have a way to create svelte as an SPA. Someone even created a whole talk about it in the svelte channel.

    • @raph151515
      @raph151515 11 месяцев назад +1

      Personally I think that many SPA shouldn't be SPAs, so yeah they are in a crusade, to give developers the choice, because many apps created with React as SPA would not give you this easy choice

    • @viniciusmachadorodrigues1724
      @viniciusmachadorodrigues1724 10 месяцев назад

      ​@@raph151515 bullshit, there were plenty of ssr options to react, in fact ssr predates react.

  • @cyberkrypts
    @cyberkrypts 10 месяцев назад

    let's make svelte great again 🔥

  • @BhargavaMan
    @BhargavaMan 11 месяцев назад +4

    Embrace modernity. Evolve to crab.

  • @ok-alarm
    @ok-alarm 10 месяцев назад +1

    im bad with frontend, svelte helped me suck less 😅

  • @mrrolandlawrence
    @mrrolandlawrence 11 месяцев назад

    not all hero's wear capes!

  • @dibbyo456
    @dibbyo456 11 месяцев назад

    Rich is so good

  • @Septumsempra8818
    @Septumsempra8818 11 месяцев назад +4

    What's his take on HTMX?

  • @TokyoXtreme
    @TokyoXtreme 10 месяцев назад

    Let's GOOOOO!!!

  • @kabukitheater9046
    @kabukitheater9046 7 месяцев назад

    tailwind mentioned...

  • @josbouma7924
    @josbouma7924 6 месяцев назад

    Welcome to coding, let's please the IDE, and also please the framework. So much to consider and next year we have to upgrade/migrate again :D

  • @papa_ethan
    @papa_ethan 9 месяцев назад

    SVELTE > REACT, in many cases

    • @ozgurNY
      @ozgurNY 6 месяцев назад

      True until Svelte 5

  • @ManwithNoName-t1o
    @ManwithNoName-t1o 11 месяцев назад +3

    HTMX is the way to go

  • @FranFiori94
    @FranFiori94 11 месяцев назад +2

    Web is fine 👍

    • @winfredj9820
      @winfredj9820 11 месяцев назад

      lol

    • @mr_clean575
      @mr_clean575 11 месяцев назад +4

      CSS hack workarounds, html emails still using tables, AJAX needed for update without refresh, browser inconsistencies, the need for CSS resetters, frustration with state and inheritance, html email dark mode nightmares
      nah it needs some work

  • @davidsiewert8649
    @davidsiewert8649 11 месяцев назад +3

    The only think holding me back (and I tried switching) is missing IDE support in Intellij/Idea. Vscode is really bad after you get used to "real" IDE like Intellij.

    • @danvilela
      @danvilela 11 месяцев назад +1

      Curious.. what you dislike about vs code? For me it works perfectly. Intellij is too ugly

    • @davidsiewert8649
      @davidsiewert8649 11 месяцев назад +2

      @@danvilela
      The refactoring sucks in vscode.
      Example: moving a single folder with source files -> breaks all imports / entire code base.
      Intellij is a big slow and a bit complex -> but the refactoring works 100% seamlessly and reliable.

    • @globalmatador
      @globalmatador 11 месяцев назад +1

      I love typescript and web development but I really hate vs code.

    • @omomer3506
      @omomer3506 11 месяцев назад +1

      ​@davidsiewert8649 idk the version of vscode i have, once i move a file it upsates all the imports

    • @davidsiewert8649
      @davidsiewert8649 11 месяцев назад

      @@omomer3506
      If I move a single file it does for me as well.
      Now try again moving a directory.

  • @hellodefhellow
    @hellodefhellow 10 месяцев назад

    He and svelte is too powerful thats why Next js gave him job offer to stay distracted

  • @Lemmy4555
    @Lemmy4555 11 месяцев назад

    look like js is destined to become a low level language we other things use to communicate with the browser, pretty much like assembly.

  • @laughingvampire7555
    @laughingvampire7555 6 месяцев назад

    how to copy others and silently accept your own mistakes

  • @Badwhether
    @Badwhether 6 месяцев назад

    Not fot AI though

  • @Joshua.Developer
    @Joshua.Developer 4 месяца назад

    Too much js bs

  • @JLarky
    @JLarky 11 месяцев назад +2

    What i like about Svelte community is that even after two years of being ranked number 2 they still think that they are ranked highest 👍

    • @TrostCodes
      @TrostCodes 11 месяцев назад +5

      I want to clarify that’s me misspeaking, not Rich. I meant to say among the highest or something to that effect. It’s a reflection on me rather than Rich or anyone in the Svelte community.

    • @levicoderman
      @levicoderman 11 месяцев назад

      Typical JLarky moment

    • @JLarky
      @JLarky 11 месяцев назад

      @@TrostCodes believe me, it's not just you :-)

    • @zebeer
      @zebeer 11 месяцев назад +10

      of everything discussed in this video, this was your remark, interesting

    • @jamesgood7894
      @jamesgood7894 11 месяцев назад +4

      @@zebeer Should be no surprise their name rhymes with snarky

  • @iulikdev
    @iulikdev 11 месяцев назад +2

    I love sveltekit, it's my only framework i work!

  • @dbred67
    @dbred67 11 месяцев назад

    I really don't fully buy into the simplicity part of this discussion. Pro developers care about productivity and understand a framework needs a deep ecology of packages that solve common problems.

    • @supbra1
      @supbra1 11 месяцев назад

      It's easier to build complex stuff on top of a simple ground. Svelte helps doing that.

    • @raph151515
      @raph151515 11 месяцев назад

      it depends, do you want to spend time on content and UI or to work on your own customized framework ? the problem with React based project is the initial setup duration if you want anything outside the bounds of the well oiled "distributions". In the npm web dev, the depth and volume of dependencies is often mind boggling, the cause is that for a while nobody gave a shit, some people think different and do something about it, the result is build performance and increase in reliability/safety. I prefer a project that uses 200 package than 10K, with often 20 times the same one with different versions. The end result as code executed is often similar but the way to produce the code is streamlined

  • @channelname501
    @channelname501 11 месяцев назад +1

    All this is so wrong...

  • @stupidgameprizes
    @stupidgameprizes 10 месяцев назад

    I LOVE SVELTE(KIT) !!!!!!