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

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 159

  • @TrostCodes
    @TrostCodes 9 місяців тому +207

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

    • @amanksdotdev
      @amanksdotdev 9 місяців тому +18

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

    • @amanksdotdev
      @amanksdotdev 9 місяців тому +1

      Great interview btw

    • @gariklaw
      @gariklaw 9 місяців тому +1

      Excited for Svelte 6, c'mon!!

    • @YakubKristianto
      @YakubKristianto 9 місяців тому +1

      @@amanksdotdev didn't know jQuery is still alive

    • @andreiz82
      @andreiz82 9 місяців тому

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

  • @diegorocha2186
    @diegorocha2186 8 місяців тому +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 Місяць тому

      Svelte 5 went down hill. Sadly.

  • @jdrago999
    @jdrago999 9 місяців тому +82

    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 9 місяців тому +2

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

  • @leksluthor3
    @leksluthor3 5 місяців тому +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 9 місяців тому +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.

  • @johndoyle3816
    @johndoyle3816 6 місяців тому +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 😭

  • @arunkumarTdr
    @arunkumarTdr 9 місяців тому +37

    Svelte changed my life too ❤

  • @havokgames8297
    @havokgames8297 4 місяці тому +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 9 місяців тому +39

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

  • @sunhyungkim5764
    @sunhyungkim5764 9 місяців тому +14

    Always enjoying developing with svelte!😊

  • @BhideSvelte
    @BhideSvelte 9 місяців тому +20

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

  • @figloalds
    @figloalds 9 місяців тому +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

  • @alwayzsmarter
    @alwayzsmarter 9 місяців тому +34

    Long live Sveltekit. Long live Rich

  • @sadunozer2241
    @sadunozer2241 9 місяців тому +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 9 місяців тому +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 9 місяців тому

      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 9 місяців тому

      @@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 😊

  • @siphillis
    @siphillis 7 місяців тому +1

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

  • @BartBlackMagic
    @BartBlackMagic 9 місяців тому +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.

  • @attevirtanen271
    @attevirtanen271 8 місяців тому +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 5 місяців тому

      No, R19 does not include the compiler

    • @attevirtanen271
      @attevirtanen271 5 місяців тому

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

  • @ExpertzZ
    @ExpertzZ Місяць тому +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.

  • @codewithguillaume
    @codewithguillaume 9 місяців тому

    Rich is a real passionate dev. I like this!

  • @TheStickofWar
    @TheStickofWar 5 місяців тому

    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

  • @cubondemais
    @cubondemais 7 місяців тому +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.

  • @smithy5760
    @smithy5760 9 місяців тому +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 9 місяців тому +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 9 місяців тому

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

  • @ZakariaBoualaid
    @ZakariaBoualaid 9 місяців тому +1

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

  • @orange-vlcybpd2
    @orange-vlcybpd2 5 місяців тому

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

  • @ScriKidding-eg6vn
    @ScriKidding-eg6vn 9 місяців тому +11

    my idol omg! when svelte native!!

    • @TrostCodes
      @TrostCodes 9 місяців тому +1

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

  • @rumble1925
    @rumble1925 9 місяців тому +2

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

  • @ozgurNY
    @ozgurNY 4 місяці тому

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

  • @ramireznoy
    @ramireznoy 4 місяці тому +1

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

  • @jkibble98
    @jkibble98 9 місяців тому +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 4 місяці тому

      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.

  • @steven11101010
    @steven11101010 7 місяців тому +1

    Great interview and interviewer. Well done.

  • @YanickSteinbeck
    @YanickSteinbeck 4 місяці тому

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

  • @alwayzsmarter
    @alwayzsmarter 9 місяців тому +11

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

  • @DouglasHewitt
    @DouglasHewitt 8 місяців тому

    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?

  • @DanteMishima
    @DanteMishima 9 місяців тому +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 4 місяці тому

      Care to elaborate?

    • @ozgurNY
      @ozgurNY 4 місяці тому

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

  • @grinsk3ks
    @grinsk3ks 9 місяців тому +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 9 місяців тому +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 4 місяці тому

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

  • @bl1ndguy0
    @bl1ndguy0 9 місяців тому +26

    I want to know Rich's thoughts on HTMX hmmmmmmmm

    • @fun2rideadventure
      @fun2rideadventure 9 місяців тому

      Why not Lit

    • @reinhardt_tv
      @reinhardt_tv 8 місяців тому +1

      Htmx is not for complex projects

    • @smithdoesstuff
      @smithdoesstuff 3 місяці тому

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

    • @reinhardt_tv
      @reinhardt_tv 3 місяці тому

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

    • @reinhardt_tv
      @reinhardt_tv 3 місяці тому

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

  • @gufoscuro
    @gufoscuro 8 місяців тому

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

  • @n3x404
    @n3x404 9 місяців тому

    Amazing, such inspiring, Thank you !🙌

  • @dgleitaocontratos
    @dgleitaocontratos 9 місяців тому +1

    This is the next framework I'll try.

    • @zayne-sarutobi
      @zayne-sarutobi 4 місяці тому

      Fr, this and solid are so high on my list

  • @jaromírpražák
    @jaromírpražák 3 місяці тому

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

  • @jkibble98
    @jkibble98 9 місяців тому +9

    Love that he is a tailwind convert now!

    • @TrostCodes
      @TrostCodes 9 місяців тому

      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 9 місяців тому

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

  • @jamie_SF
    @jamie_SF 6 місяців тому +1

    Great interview

  • @Parkuman
    @Parkuman 9 місяців тому +2

    could listen to rich talk about anything

  • @tigermanni
    @tigermanni 9 місяців тому

    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 9 місяців тому +4

    svelte is very cool

  • @stefanmaric
    @stefanmaric 9 місяців тому +1

    Rich Harris is so wholesome

  • @jimbeenee
    @jimbeenee 9 місяців тому +6

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

    • @danvilela
      @danvilela 9 місяців тому +1

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

    • @TrostCodes
      @TrostCodes 9 місяців тому +1

      They'll come around eventually.

    • @BboyKeny
      @BboyKeny 8 місяців тому

      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

  • @mavdotj
    @mavdotj 8 місяців тому

    I think classes should definitely go hand in hand with runes

  • @AsilbekIsmoilov-uc7pz
    @AsilbekIsmoilov-uc7pz 4 місяці тому

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

  • @theldentity
    @theldentity 9 місяців тому +3

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

    • @TrostCodes
      @TrostCodes 9 місяців тому +3

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

    • @edray2042
      @edray2042 9 місяців тому

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

  • @ash8128
    @ash8128 7 місяців тому

    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.

  • @guillaumeamangoua
    @guillaumeamangoua 9 місяців тому +2

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

  • @shujaa
    @shujaa 9 місяців тому

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

  • @TokyoXtreme
    @TokyoXtreme 8 місяців тому

    Let's GOOOOO!!!

  • @kaxmaxkaxmax
    @kaxmaxkaxmax 7 місяців тому +1

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

  • @dibbyo456
    @dibbyo456 9 місяців тому

    Rich is so good

  • @viniciusmachadorodrigues1724
    @viniciusmachadorodrigues1724 9 місяців тому +1

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

    • @supbra1
      @supbra1 9 місяців тому +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 9 місяців тому +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 8 місяців тому

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

  • @nuvotion-live
    @nuvotion-live 9 місяців тому +5

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

  • @pepkin88
    @pepkin88 9 місяців тому +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 9 місяців тому

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

    • @timmeehan2365
      @timmeehan2365 9 місяців тому

      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 9 місяців тому

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

  • @cyberkrypts
    @cyberkrypts 8 місяців тому

    let's make svelte great again 🔥

  • @mrrolandlawrence
    @mrrolandlawrence 9 місяців тому

    not all hero's wear capes!

  • @BhargavaMan
    @BhargavaMan 9 місяців тому +4

    Embrace modernity. Evolve to crab.

  • @ok-alarm
    @ok-alarm 9 місяців тому +1

    im bad with frontend, svelte helped me suck less 😅

  • @kabukitheater9046
    @kabukitheater9046 5 місяців тому

    tailwind mentioned...

  • @josbouma7924
    @josbouma7924 4 місяці тому

    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

  • @MarkWilliamson-i8t
    @MarkWilliamson-i8t 6 місяців тому

    Web dev has sucked from the start. Framework after framework to try and address the deficiencies. Can't change the underlying languages though, HTML, CSS, JS. Can only build on top but still amazing after nearly 30 years we still haven't got there. Interested to try Svelte out on a project and see what it can do.

  • @Septumsempra8818
    @Septumsempra8818 9 місяців тому +4

    What's his take on HTMX?

  • @ManwithNoName-t1o
    @ManwithNoName-t1o 9 місяців тому +3

    HTMX is the way to go

  • @papa_ethan
    @papa_ethan 7 місяців тому

    SVELTE > REACT, in many cases

    • @ozgurNY
      @ozgurNY 4 місяці тому

      True until Svelte 5

  • @MarkWilliamson-i8t
    @MarkWilliamson-i8t 6 місяців тому

    Doesn't work on iPhones ??? that's a big issue

  • @davidsiewert8649
    @davidsiewert8649 9 місяців тому +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 9 місяців тому +1

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

    • @davidsiewert8649
      @davidsiewert8649 9 місяців тому +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 9 місяців тому +1

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

    • @omomer3506
      @omomer3506 9 місяців тому +1

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

    • @davidsiewert8649
      @davidsiewert8649 9 місяців тому

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

  • @Lemmy4555
    @Lemmy4555 9 місяців тому

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

  • @Badwhether
    @Badwhether 4 місяці тому

    Not fot AI though

  • @laughingvampire7555
    @laughingvampire7555 4 місяці тому

    how to copy others and silently accept your own mistakes

  • @hellodefhellow
    @hellodefhellow 9 місяців тому

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

  • @Joshua.Developer
    @Joshua.Developer 2 місяці тому

    Too much js bs

  • @FranFiori94
    @FranFiori94 9 місяців тому +2

    Web is fine 👍

    • @winfredj9820
      @winfredj9820 9 місяців тому

      lol

    • @mr_clean575
      @mr_clean575 9 місяців тому +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

  • @dbred67
    @dbred67 9 місяців тому

    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 9 місяців тому

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

    • @raph151515
      @raph151515 9 місяців тому

      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 9 місяців тому +1

    All this is so wrong...

  • @JLarky
    @JLarky 9 місяців тому +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 9 місяців тому +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 9 місяців тому

      Typical JLarky moment

    • @JLarky
      @JLarky 9 місяців тому

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

    • @zebeer
      @zebeer 9 місяців тому +10

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

    • @jamesgood7894
      @jamesgood7894 9 місяців тому +4

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

  • @iulikdev
    @iulikdev 9 місяців тому +2

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

  • @stupidgameprizes
    @stupidgameprizes 9 місяців тому

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