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

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

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

  • @roycrippen9617
    @roycrippen9617 3 месяца назад +9

    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  3 месяца назад +2

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

  • @Lemmy4555
    @Lemmy4555 2 месяца назад +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  2 месяца назад +1

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

    • @Lemmy4555
      @Lemmy4555 2 месяца назад +1

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

  • @raulnoheagoodness
    @raulnoheagoodness 3 месяца назад +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 🍳

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

    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  3 месяца назад +2

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

  • @raph151515
    @raph151515 2 месяца назад +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  2 месяца назад +1

      Definitely not the ideal setup

    • @mileselam641
      @mileselam641 Месяц назад +1

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

  • @mbokil
    @mbokil Месяц назад

    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  Месяц назад

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

    • @mbokil
      @mbokil Месяц назад

      @@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  Месяц назад

      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 Месяц назад

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

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

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