Manage State in JavaScript Like a Pro!

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

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

  • @TheBswan
    @TheBswan 5 дней назад

    "Redux requiring boilerplate" does a disservice to modern redux with RTK which is actually quite good. Also, jotai allows you to define setters, and you can use derived atoms to define different methods to interact with the same data.

  • @omomer3506
    @omomer3506 11 дней назад +1

    Anytime you guys talk about state the videos go crazy up, nice
    Also before i even start the video, state stored in url 🎉

  • @PaulPhilp-pe5oe
    @PaulPhilp-pe5oe 11 дней назад

    great episode! thanks

  • @EmiliaKaida
    @EmiliaKaida 11 дней назад +12

    Well for these technical topics IMHO it'd be much better to whip out the code editor and do some demonstration. But you guys sometimes do this kinda podcast-only so, yeah...

    • @_ilearn
      @_ilearn 11 дней назад +2

      A lot of us listen to it while walking.

    • @dothex
      @dothex 11 дней назад +3

      @@_ilearn But alot of us want to see this in action as they're describing it.

    • @EmiliaKaida
      @EmiliaKaida 11 дней назад +1

      @@_ilearn Yeah, that's why i said it's just my opinion. But I'd bet a beginner (in these technical topics, like in this cases, state management), would struggle with something like "signals" if he's total new to it and try to listen to it only. Would be infinitely hard, don't you think? Again, I didn't even listen to this whole podcast so don't know how detailed they made the talk. Just a constructive feedback.

    • @erics2133
      @erics2133 11 дней назад +2

      @@dothex Lately, CJ's been doing how-to videos on subjects that get discussed by Scott and Wes. He hasn't been covering everything, hopefully comments like this will help him prioritize what episodes could use some examples.

  • @barchuk422
    @barchuk422 11 дней назад +3

    love this!
    started front-end, winking at fullstack - state management is the first real issue i'm trying to solve

  • @Terr590
    @Terr590 11 дней назад +1

    I think the term effect comes from "Side effect" which refers to something that should happen alongside the state changing, while you defined it as "listening to state changes".
    Sorry if I'm over-correcting, it just seemed like an important distinction to me.

    • @pookiepats
      @pookiepats 11 дней назад +1

      They talk more than they build. It’s ok, it’s just for entertainment if you listen for accuracy you’ll have a bad time here lol

    • @patolorde
      @patolorde 3 дня назад

      No thats other effect

  • @TheSysmat
    @TheSysmat 11 дней назад

    Do you have state with auth like acl

  • @dovh49
    @dovh49 11 дней назад

    For FormData if you want to just "access" the property just use a proxy. It's pretty straight forward, after you do it the first time 🙂.

  • @danielgilleland8611
    @danielgilleland8611 10 дней назад

    With our Big Ball of Mud project, we're leveraging Denial-based state.

  • @dacam29
    @dacam29 11 дней назад +1

    RTK!?

  • @hugodsa89
    @hugodsa89 10 дней назад

    What is state? Baby don’t hurt me, don’t hurt me… no more.
    Every single time.

    • @syntaxfm
      @syntaxfm  10 дней назад +2

      Oh ooo oh ooo oh oh

  • @kuhaniresti
    @kuhaniresti 8 дней назад

    the irony of existing javascript frameworks is that they const and provide function to override its value 😂

  • @alexander.kachkaev
    @alexander.kachkaev 10 дней назад

    React State + React Context + React Compiler is the end game

  • @AmTheMaddest
    @AmTheMaddest 11 дней назад

    First? Will update with impressions.

  • @pookiepats
    @pookiepats 11 дней назад +1

    Atoms are best for freelancers 🎉

  • @w_3ird0h
    @w_3ird0h 11 дней назад

    ayo where's my boy htmx at?

    • @syntaxfm
      @syntaxfm  10 дней назад +1

      The DOM as state.