Redux Toolkit with Redux Saga | Toolkit and Saga made Simple

Поделиться
HTML-код
  • Опубликовано: 2 июн 2024
  • In this video we will going over Redux Toolkit and Redux Saga. We will also be creating a simple gallery application.
    Redux Toolkit: redux-toolkit.js.org/
    Redux Saga: redux-saga.js.org/
    Link to CSS File: github.com/ed-roh/redux-toolk...
    -----------
    Chapters:
    0:00 Is Redux Toolkit and Redux Saga a good combo
    1:00 How to Setup Redux Toolkit and Saga
    3:15 Redux Toolkit Setup
    10:36 Writing Redux Saga Syntax
    17:00 Using our Easy Toolkit and Saga Setup
    26:00 Why you should use Redux Toolkit and Saga
    -----------
    Subscribe to my channel: / @edrohdev
    for more algorithm explanations, tech discussions, and programming tutorials!
    -----------
    Hey there, my name’s EdRoh. On my channel, you will find common coding algorithms and/or interview questions (with explanations of course). I also provide tutorials and courses on other programming topics in Web Development including Javascript, React, HTML, CSS, TypeScript, Redux, Node, Progressive Web Apps, React Native, Flutter, etc.
    No matter what level you are, whether you are already in the software engineering field, or are just beginning coding in bootcamp or being self taught, my first and foremost desire is to help you provide with the best teaching content and learning resource I possibly can. As someone who understands the struggles of switching careers, I hope I can help guide you into this difficult but rewarding journey into engineering.
  • НаукаНаука

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

  • @AndyHoebeke
    @AndyHoebeke Год назад +3

    Very informative, well explained and straight to the point. Wish I had seen this first, before delving into the docs. Keep it up!

  • @nemanjapetrovic8490
    @nemanjapetrovic8490 2 года назад +2

    This was so nice to watch. Just useful information's. Not wasting time. Nice pace. Thanks a lot!!

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

    Amazing. You are a very gifted teacher! Thank you.

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

    Exactly what I needed, thanks!

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

    Great video! Would have really been a cherry on top if we had explored the unit testing side of all this. Probably the real win out of all this

  • @pulkitnangia5788
    @pulkitnangia5788 2 года назад +5

    Best video. You explained the whole example really well brother. Could you please make more project videos using Redux Toolkit and saga so that we can learn more advance topics of saga. May be CRUD app, login registration forms, shopping site etc .

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

    My hero! Thank you for this great tutorial.

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

    Great explanation. I like the nice and slow way you explain things. Thanks

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

    Great video, thanks for explaining this simple yet we tend to make it complex topic!

  • @vinit.khandelwal
    @vinit.khandelwal 2 года назад

    Impressive tutorial. Quick and precise.

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

    Beautiful explanation. Thanks a lot!

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

    amazing tutorial. Really wonder why redux toolkit picks thunk over saga. Would you still use thunk sometimes as it is included in RTK or are you doing everything with saga?

  • @muddy-buddy
    @muddy-buddy Год назад

    Thank you. so simple, so informative, without any water)

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

    You made me my day, great man!

  • @pitbul67204
    @pitbul67204 2 года назад +2

    Thank you for the great tutorial

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

    Thank you , amazing tutorial👍

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

    Thank you. simple & clear

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

    This video was a lifesaver!

  • @fedeinternet1
    @fedeinternet1 Год назад +1

    Very good video, excellent explaining. Thanks!!!
    The only thing is that the API doesn't provide anymore the prop image. So for those who are having problems, don't put the and it will work.

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

    Its really helpful. Thank you.

  • @RajuKumar-zm6jx
    @RajuKumar-zm6jx Год назад

    You make it easy to understand 👍

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

    This is great explanation. !!

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

    Thank you very much! It worked!

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

    very good tutorial. thank you!

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

    amazing explanation, thank you

  • @user-sw3fi9fo2m
    @user-sw3fi9fo2m Год назад

    thank you so much for this informative and awesome video keep it up

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

    Great teaching, thanks

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

    Thank you for very nice explain!

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

    Thank you well explained, beginner friendly and up to date and relevant 2023 April very easy to follow :) Thank you @EdRoh

  • @user-wq9gc4rj3w
    @user-wq9gc4rj3w 10 месяцев назад

    Great video, thank you!

  • @user-go4ec1oc1h
    @user-go4ec1oc1h 8 месяцев назад

    It's very usefull lesson! Thank you so mauch

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

    Thank you for the great video

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

    thnak you so musch, this is help me

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

    thank you for the video, can you do more a CRUD about Toolkit and Saga

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

    Thank you guy!!!

  • @toannew
    @toannew Год назад +3

    5:17 index
    9:54 catsState.js
    10:24 index 2
    12:19 explain Action_type
    16:33 catSaga.js
    16:55 index 3
    19:57 app js
    20:17 typo at catstate

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

    thank you so much !!!

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

    Could you please upload for all CRUD operations

  • @user-hb5lw5gx9h
    @user-hb5lw5gx9h 8 месяцев назад

    great video

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

    This is good. But what's wrong with the old approach where we have 3 directories store, actions and reducers?

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

    Nice video

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

    hey edward, can you please explain why am i receiving error as 'catState is not defined' at line no 23 in catState.js file?

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

    what theme are you using, awesome video btw

  • @arnoczkyzoltan6158
    @arnoczkyzoltan6158 Год назад +1

    Please help me: my catSaga and catState files are contains errors, because i'm using TypeScript. How can I modify those files to working in TypeScript?

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

    Great , But for get the login details what will we do First we save the state and then call saga , like a function save the username password and then the saga is called ? or anything

  • @mohit.sharma.2
    @mohit.sharma.2 Год назад

    how do pass any payload, to make post request using state from the component/ slice, inside the saga's worker function?

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

    It’s still have lots of code . If I use SWR or React query instead of using redux , is there will be any trouble?

  • @thecollective2404
    @thecollective2404 6 месяцев назад

    Why did add dispatch as dependency? is it because it will keep on calling again and again on the same page and it will show or add new data to the page if api data has increased from earlier.?

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

    hi can you please tell if i can pass a callback in dispatch to get success right after calling so i can redirect to different page after dispatch like doing login

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

    Thank you

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

    please help me out here..
    I've done the exact steps to integrate redux saga in my react project which was already using redux toolkit and while running my react project later my proj is not loading fully and I'm getting this error on my command prompt later
    FATAL ERROR: Committing semi space failed. Allocation failed - Javascript heap out of memory
    ( I've tried using --max_old_space_size=4096 in my start script but nothing changes )

  • @burakkartal2156
    @burakkartal2156 Год назад +1

    Thanks. if this was typescript it would be epic tho :)

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

    Where to perform create store logic if i am setting this in Next App

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

    what if we have many saga?
    do we have to combine them by using all effects like we do in typical saga?

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

    getting this error please help
    "Uncaught Error: The slice reducer for key "cats" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.
    "

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

      Watch for a typo on
      "initialState: {
      cats: [],
      isLoading: false,
      },"
      (I had initalState instead of initialState)
      Or
      On your reducers, add a default case ;)

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

    Please do it with TypeScript

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

    Amazing ++++++++++++++++++++++++++++++

  • @ldelossantos
    @ldelossantos 9 месяцев назад

    I never saw a so complex and over engineered way to handle memory in a browser! Im assume if someone who think in this library as an improvement see & or * before a variable will call the police!

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

    Doesn't make any sense but interesting