Svelte Runes - A Good or Bad Update?

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ย. 2024

ความคิดเห็น • 28

  • @greendsnow
    @greendsnow ปีที่แล้ว +26

    the whole thing is a compiler. they could have used something less noisy and compile it to whatever

    • @programming2588
      @programming2588 ปีที่แล้ว +2

      Exactly

    • @ivan.jeremic
      @ivan.jeremic 9 หลายเดือนก่อน

      calling functions is not "noisy" learn the damn language once and for all kids and stop complaining, the reason Rich is moving to this is because he learned and accepted that he didn't know JS that well and that he messed up.

  • @stathiskapnidis9389
    @stathiskapnidis9389 11 หลายเดือนก่อน +5

    I like $: and export let. I find them very intuitive. Now it just seems like React

    • @angelurena
      @angelurena 11 หลายเดือนก่อน +1

      This is similar to the good parts of React, though; not the bad. The only reason you find Svelte 4 intuitive is because you’re used to it by now. The runes introduced in Svelte 5 are objectively better in capabilities; give it a fair try and the DX will be as good or better as what you’re currently used to.

    • @ivan.jeremic
      @ivan.jeremic 9 หลายเดือนก่อน

      you find them very intuitive because you have no idea what you are talking about. learn the damn language before you decide to use a framework.

    • @stathiskapnidis9389
      @stathiskapnidis9389 9 หลายเดือนก่อน +3

      @@ivan.jeremic that's unnecessarily aggressive. Especially on a comment more than a month old. Got time huh?

  • @winchester2581
    @winchester2581 11 หลายเดือนก่อน +3

    Actually liked it. Intentions are clear, we're getting something more explicit

  • @superniquelchill
    @superniquelchill 11 หลายเดือนก่อน +7

    basically, runes == react hooks

    • @ivan.jeremic
      @ivan.jeremic 9 หลายเดือนก่อน

      the difference is automatic dependency tracking and fingrained updates, this is 1000x better than the let and $ stuff before. Now you Svelties need to learn proper JS.

  • @baxalasse
    @baxalasse ปีที่แล้ว +5

    Still not convinced

    • @ivan.jeremic
      @ivan.jeremic 9 หลายเดือนก่อน

      that's because you don't know javascript

  • @stuvius
    @stuvius 11 หลายเดือนก่อน +1

    At 3:04, to me it makes no sense to refactor it like that. You are stating that the function only has one variable by the definition, and the height is constant. If you want reactivity on the height then add it as an argument to the function

  • @henochcamer3765
    @henochcamer3765 ปีที่แล้ว +2

    Well explained 👍

  • @dracula5752
    @dracula5752 ปีที่แล้ว +9

    i mean of course people gonna be upset when you make another vue/react framework

    • @eyz-4
      @eyz-4 ปีที่แล้ว +7

      this makes it easier, not more difficult. people see more syntax and automatically assume it's more complicated.

    • @123mrfarid
      @123mrfarid ปีที่แล้ว

      ​@@eyz-4how?

  • @pjc825
    @pjc825 ปีที่แล้ว

    Thank you 👍

    • @kikisbytes
      @kikisbytes  ปีที่แล้ว

      This is for you Paul!

  • @vladislove1337
    @vladislove1337 11 หลายเดือนก่อน +10

    I dont like it AT ALL.
    Svelte took a wrong turn.

    • @ivan.jeremic
      @ivan.jeremic 9 หลายเดือนก่อน

      svelte decided that writing javascript is the right thing to do what is wrong with that? You don't know JavaScript?🤣🤣🤣🤣

  • @arubaga
    @arubaga ปีที่แล้ว +8

    The fix is worse than the original issues.

    • @ivan.jeremic
      @ivan.jeremic 9 หลายเดือนก่อน

      svelte decided that writing javascript is the right thing to do what is wrong with that? You don't know JavaScript?🤣🤣🤣🤣

  • @marshallhank891
    @marshallhank891 3 หลายเดือนก่อน +1

    it makes non sense, so how is this different from React?

  • @Rundik
    @Rundik ปีที่แล้ว +4

    Runes: bringing php into svelte

    • @ivan.jeremic
      @ivan.jeremic 9 หลายเดือนก่อน

      wow, I knew that the Svelte community is mostly beginners but I had no idea that you guys have really no idea how code works.