Why Svelte Might Just Outdo React: Rich Harris Unveils Shocking Comparisons!

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

КОМЕНТАРІ • 17

  • @roycrippen9617
    @roycrippen9617 6 місяців тому +10

    Lmfao rich harris is a true gem. He says he only knows the basics of git and then minutes later chides the js community for not understanding their tools hahahahhaa. ❤ Rich and svelte

    • @WhiskeyWebAndWhatnot
      @WhiskeyWebAndWhatnot  6 місяців тому +2

      Woah, woah, woah he was talking about other devs not himself 😝

  • @techinsider3611
    @techinsider3611 6 місяців тому +4

    Your producers were late .
    You speak truth my friend 😂
    Cricket is also big in UK.
    Please we need some cricket people also in tech 😅

    • @WhiskeyWebAndWhatnot
      @WhiskeyWebAndWhatnot  6 місяців тому +2

      You’ll have to convince Chuck to like it more than football 😝

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

    I think Svelte 5 is the first version of Svelte where I can see React devs using it. Svelte 4 syntax was too magical for me but the Runes API gives me the control I need for fine grained reactivity. I think it will be a big hit.

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

      Do you have an example of something that needs fine grained reactivity control?

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

      @@WhiskeyWebAndWhatnot Updating a data table with 4k rows and updating only 1 row. A graphical dashboard that updates constantly from push events with large data sets. Updating only 1 object in the array make the UI much smoother.

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

      Are you displaying all 4,000 rows at once? I think most frameworks handle this for you by only rerendering what changed. React does it backwards and rerenders everything all the time unless you use a lot of hooks to tell it what not to rerender.

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

      @@WhiskeyWebAndWhatnot We use a virtual table component we wrote our selves that renders only what is visible and fetches more data from cache as the user scrolls. Still was smoother in Svelte 5 vs. 4 when we tested it.

  • @Lemmy4555
    @Lemmy4555 4 місяці тому +3

    I like BEM, yes i hate that is that verbose, but if there's something off to fix i can just copy the name of the class from the browser and find it in the source right away even from production, and that alone makes it really worth it despite all the drawbacks.

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

      Wouldn’t the same be true without BEM if you named your classes uniquely?

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

      @@WhiskeyWebAndWhatnot yes, BEM only makes it very easy to have a unique name

  • @raph151515
    @raph151515 5 місяців тому +3

    graphQL makes front end code so verbose. The only way it's truly useful is to compensate a broken back end / front end teams relation. I've been there dreaming about adding one f-in field in some API instead of having to bundle data into a page builder content or even worse, code. Some companies have no functional management, so half of the data used by front end are literally smuggled into the viewport by back channels. In a way graphQL forces management to give the front end teams some responsibility about data models and access. It still doesn't create things that are not found is DB but at least you don't need to wait for the 6 month delay to complete a simple API refresh task.

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

      Definitely not the ideal setup

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

      KitQL
      www.kitql.dev/docs
      Postgraphile
      www.graphile.org/postgraphile/introduction/
      Hasura
      hasura.io

  • @raulnoheagoodness
    @raulnoheagoodness 5 місяців тому +2

    Rich Harris, if you're a home cook, I'll share when I had kids I had to become a proficient short order cook 🍳

  • @arubaga
    @arubaga 5 місяців тому +3

    Rich: I can dance but I do not drink. Robbie and Charles: !