RF21 - Ryan Carniato - SolidJS - Reactive JSX

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

КОМЕНТАРІ • 9

  • @gogdarag
    @gogdarag 3 роки тому +12

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

  • @MrPlaiedes
    @MrPlaiedes 2 роки тому +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 2 роки тому +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.

  • @bigmistqke
    @bigmistqke 2 роки тому +3

    Solid just makes sense.

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

  • @zomakaja
    @zomakaja 3 роки тому +2

    Nice

  • @aungthiha0
    @aungthiha0 3 роки тому +1

    i already been through such hook-up..

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