Redux Saga - Asynchronous Side Effects for Redux

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

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

  • @MonsterlessonsAcademy
    @MonsterlessonsAcademy  4 месяца назад

    WATCH NEXT: React Interview Questions and Answers - Dominate Your Next Interview - ruclips.net/video/yQHr4opz_N0/видео.htmlsi=51b2XP_84GH3q6oF

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

    Thank you so much! This video is the one that finally made me understand it.
    If someone else is still struggling, what worked for me is not splitting so much (just for learning purposes) and not abstracting actions, simply doing yield put({ type: "ABC", payload: ABC }).
    Maybe I'm weird, but this made my brain click, now that I understand I can split everything back to different folders and files again.

  • @gagangupta1255
    @gagangupta1255 10 месяцев назад

    Awesome video. Thanks alot for giving the context and not directly jumping to the coding

  • @nebiyuzewge4471
    @nebiyuzewge4471 8 месяцев назад

    very good video. i get the core concept with in 30 minutes. thank you!

  • @thomasmendoza8710
    @thomasmendoza8710 2 года назад +1

    My new favorite instructor. Soon as I get a job with your videos I will get you some 🍺 💰

  • @bigxmark8656
    @bigxmark8656 11 месяцев назад

    Hi, can i ask, so the action for the createUser was never used? 23:03

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  11 месяцев назад +1

      Hi it is used automatically through saga
      github.com/monsterlessonsacademy/monsterlessonsacademy/blob/245-redux-saga/src/redux/sagas/handlers/createUser.js

  • @shineLouisShine
    @shineLouisShine 10 месяцев назад

    16:00 - I see what you did there ;)
    (...already subscribed though)
    25:05 - the pop-up modal reminds me that Redux--Saga also include Channels mechanism.
    Do you have any experience with this concept? (requires a deeper dive)
    - Your project arrangement is very elegant but I find files with the exact same name quite confusing to work with (despite the different folders which they are included in)

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  10 месяцев назад

      Thanks! Keep in mind that Saga is an old tool and is not recommened by Redux team nowadays. The recommened solution is redux-toolkit.

    • @sugaryxegnirys
      @sugaryxegnirys 5 месяцев назад

      @@MonsterlessonsAcademy I left a job using rtk and now I'm interviewing at a company that uses redux saga 💀

  • @viniciusm.m.7822
    @viniciusm.m.7822 2 года назад +3

    Nice!!!

  • @Deliverant
    @Deliverant 2 года назад +1

    Thx for the video. I've been using redux and redux-saga for a very long time in my projects but i'm starting to wonder, what are the alternatives(if there are) to redux-saga in 2022? I know there are tons of alternatives for redux, but what about redux-saga?

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

      I don't know any alternatives to redux saga and I don't know if we need anything else. It is either redux-thunk or redux-saga.

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

      @@MonsterlessonsAcademy Yeah that what i was thinking. So if instead of redux we use some other state management library like Zustand for example, how do we manage async effects?

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

      @@Deliverant then it depends on the library how they do async effects.

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

    Thanks Alex

  • @soumyasurajita9651
    @soumyasurajita9651 Год назад

    Nice and to the point explanation of saga. Loved it. Also did you cover redux-thunk/redux-toolkit for sideeffects