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

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 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

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

  • @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 😝

  • @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 🍳

  • @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  29 วันที่ผ่านมา

      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 28 วันที่ผ่านมา

      @@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: !