RF21 - Ryan Carniato - SolidJS - Reactive JSX

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

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

  • @gogdarag
    @gogdarag 3 года назад +12

    I am using solid and I am loving it. It's easier compared to react hooks.

  • @bigmistqke
    @bigmistqke 3 года назад +3

    Solid just makes sense.

  • @MrPlaiedes
    @MrPlaiedes 3 года назад +2

    Can't wait to use it. Would like to see more global state examples. Right now I really like Recoil but that's React.

    • @ryansolid
      @ryansolid 3 года назад +7

      The thing is you've sort of already seen it. Global state and local state are the same. Since signals and effects have nothing to do with components you can just use those for global state as well. We also have a proxy for deeply nested reactive state that is useful in these cases.

  • @equallyavant
    @equallyavant 3 года назад +1

    Nice! Loved the shoutout to Jotai

  • @baka_baca
    @baka_baca 2 года назад

    Okay fine... I'll try out Solid soon. The more code I get to throw out while still maintaining understandability is awesome and it looks like Solid is going to get that done for me :)

  • @AttackHelicopter64
    @AttackHelicopter64 2 года назад

    first question: can you have an effect with 3 dependencies inside, but it's only triggered when two of that dependencies update?
    there are use-cases like this, and I don't see if we can handle it here
    second: if effect must trigger function from props, what's the implications of that? I mean, if we pass that function as a prop, how does Solid know, if function is the same?

  • @aungthiha0
    @aungthiha0 3 года назад +1

    i already been through such hook-up..

  • @zomakaja
    @zomakaja 3 года назад +2

    Nice