Mastering Redux Toolkit and RTK Query: A Comprehensive Course for State Management & Data Fetching

Поділитися
Вставка
  • Опубліковано 5 лют 2025
  • Unlock the full potential of state management and data fetching in React with our comprehensive course on Redux Toolkit and RTK Query. Whether you're a beginner or an experienced developer, this course is designed to empower you with the skills needed to build robust and efficient React applications.
    What You'll Learn:
    Redux Toolkit Mastery: Dive deep into the Redux Toolkit, the official recommended way to write Redux logic. Learn to streamline your Redux code, reduce boilerplate, and manage state effortlessly.
    RTK Query Fundamentals: Explore the powerful capabilities of RTK Query for efficient data fetching in React. Understand how to simplify API calls, manage loading states, and handle caching seamlessly.
    Real-world Applications: Apply your knowledge to real-world scenarios with hands-on projects and practical examples. Gain confidence in implementing Redux Toolkit and RTK Query in a variety of use cases.
    Project One 👉 • THE BIGGEST MERN STACK...
    Follow Me On 👇
    Instagram: / huxnshorts
    UA-cam: / @huxnwebdev
    GitHub: github.com/hux...
    Twitter: / huxnwebdev
    00:00 - Intro
    1:57 - What is Redux
    3:06 - What is Redux Toolkit
    3:52 - How Redux Toolkit Works
    6:29 - The Docs
    8:05 - Course Setup
    11:18 - What Is a Store & How To Create One
    15:35 - What Is a Slice & How To Create One
    26:14 - Using Redux Toolkit In React
    32:23 - What Is RTK Query
    33:04 - RTK Query Setup
    34:58 - Creating Service In RTK Query
    41:12 - Create First Endpoint
    43:48 - RTK Query Hooks Magic
    46:42 - Register Service In Store
    49:28 - Using RTK Query Endpoint In React Component
    50:04 - Get All Products
    55:16 - Get Product By ID
    59:31 - Add New Product
    1:07:51 - Update Specific Product
    1:13:43 - Delete Product
    1:17:27 - Outro

КОМЕНТАРІ • 136

  • @huxnwebdev
    @huxnwebdev  Рік тому +16

    Project 1 👇
    ua-cam.com/video/PRpTY5LS95M/v-deo.html
    Project 2 👇
    ua-cam.com/video/Bd1EBSCu2os/v-deo.html
    Complete Source Code 👇
    github.com/HuXn-WebDev/Redux-Toolkit-and-RTK-Query

    • @BLACKDREAMIO
      @BLACKDREAMIO Рік тому

      bro what software u used in this video to show this drawing kinda thing

    • @hungnguyentuan1989
      @hungnguyentuan1989 8 місяців тому

      Thanks you for the best video. I hope next video is React-query and Zustand please!!!

  • @abid_dasurkar
    @abid_dasurkar 11 місяців тому +9

    The Explanation is so amazing 🤩, he removed all unnecessary confusion of redux for me😊

  • @jgonzales-ibarrola
    @jgonzales-ibarrola 24 дні тому +1

    You simplified the tutorial of redux from its official documentation and easy to understand and it makes more sense, thanks a lot!!

  • @karan_0207s
    @karan_0207s Рік тому +6

    I like your way of teaching , its funny and productive at same time. Looking forward for upcoming projects!

    • @huxnwebdev
      @huxnwebdev  Рік тому

      Thanks for your amazing feedback on the course!

    • @Adexfit
      @Adexfit 18 днів тому

      @@huxnwebdev That is it baby....lol 😂

  • @ia5160
    @ia5160 Рік тому +5

    Thanks huxn..
    just complete your React course , and want more projects on react only thank you bro for all these amazing courses....
    Lot's of Love from India 🇮🇳 -- Rj

    • @huxnwebdev
      @huxnwebdev  Рік тому

      You're welcome, Love from my side to india 🥂

  • @jacobswiney9977
    @jacobswiney9977 10 місяців тому +1

    i wish i found your channel earlier. by far the best video ive seen on redux toolkit for a beginner

  • @Leesdjo
    @Leesdjo Рік тому +1

    Your teaching style is fun and effective therefore making learning more easy. Thank you HuXn WebDev.

  • @sujalsharma218
    @sujalsharma218 11 місяців тому +1

    thank you so much i learned full redux. plz continue doing amazing work

  • @wishmeheaven
    @wishmeheaven 11 місяців тому +2

    This is an awesome tutorial. Thanks a lot.
    I only wish it had a second part with a deeper dive such as advanced query, pagination, cache, lazy, suspense, etc..

    • @huxnwebdev
      @huxnwebdev  11 місяців тому +2

      Buddy checkout the projects trust me you'll love it 🥂

    • @wishmeheaven
      @wishmeheaven 11 місяців тому

      @@huxnwebdev Oooh! haven't noticed those! Very cool...

  • @hassaanvfx
    @hassaanvfx 4 місяці тому

    Thanks HuXn!
    probably the best quick explanation of Redux.

  • @foelesredna
    @foelesredna 2 місяці тому

    lovely video, bro. I really struggled with redux, and everything was explained so well, and even the jokes that were made 😅... you've earned a like and a subscription from me. keep it up

  • @ramaraghu4688
    @ramaraghu4688 8 місяців тому

    Best video on redux toolkit... Thank you so much for providing these tutorials for free😊

  • @konanplayzzz3676
    @konanplayzzz3676 5 місяців тому

    Its nice that in between there are funny moments, it captivates my attention 😂

  • @RustamKholmurodov
    @RustamKholmurodov 5 місяців тому

    BEST RTKQuery explanation for me.

  • @jssecrets
    @jssecrets 10 місяців тому +1

    😊I enjoy your cheerful character

  • @Dannynguyen.e-commerce
    @Dannynguyen.e-commerce 9 місяців тому

    Sir, you r so amazing... I love the way you teaching people in HAPPY CODING Mode . Appreciate about that.

  • @dragonhot6951
    @dragonhot6951 10 місяців тому

    Broooo You did the awesome job ..Lots of Luvvvv From India

  • @anthrax2789
    @anthrax2789 Рік тому +1

    Thank you man.. i have been struggling with rtk query for some time.. Hope this will help me..

  • @JuliaLee-kp5ny
    @JuliaLee-kp5ny 5 місяців тому

    Completed this course today! Next is typescript.

  • @hungnguyentuan1989
    @hungnguyentuan1989 8 місяців тому

    Thanks you for the best video. I hope next video is React-query and Zustand

  • @LuckyRathod20
    @LuckyRathod20 8 місяців тому

    This was a masterpiece 🤩

  • @insane6548
    @insane6548 23 дні тому

    after getting the data using rtk query, we need to push the data into our redux store right ?

  • @pushkarkumar5578
    @pushkarkumar5578 Рік тому +2

    mast samhjaya bhai

  • @akinchitb2
    @akinchitb2 Рік тому +2

    Thank you brother 🤲

  • @Boo-wd1ov
    @Boo-wd1ov 2 місяці тому

    We can do this by using axios library also right? then what is the use of this RTK query ?

  • @Cornerboy2001
    @Cornerboy2001 8 місяців тому

    best explanation best one in youtube

  • @RizaHariati
    @RizaHariati 7 місяців тому

    Thank you! Very clear, easy to follow.

  • @aminulislamshykat
    @aminulislamshykat Рік тому +1

    awesome video for beginners

  • @afzalhamdulay
    @afzalhamdulay Місяць тому

    bro. whether you accept it or not. This the best RTK Query video. rest others are way too fast or using Typescript! but you should have uploaded this video before the MERN stack Ecommerce video. one more thing, can you explain what extraReducers in redux toolkit which you missed in this video? again, thanks a lot for this❤

  • @dev_ression
    @dev_ression Рік тому +1

    Awesome stuff bro!

    • @huxnwebdev
      @huxnwebdev  Рік тому +1

      Thank you so much buddy! I've been following you for quite a while now, and I've noticed that you're not posting as frequently as you used to. However, I wanted to let you know that I really enjoy your content, and I encourage you to keep up the great work buddy 🥂

    • @dev_ression
      @dev_ression Рік тому +1

      @@huxnwebdev Thank you for the kind words man! Likewise, been a subscriber for a long time! I will try to upload more frequently! Ive been too busy :(

  • @iskokomianbouwy3275
    @iskokomianbouwy3275 11 місяців тому

    This is what i was waited thanks man you tought me alot but please can make a project on nextjs14 typescript and MUI material so that i can get idea how to use it❤

  • @UNDEREFFCT
    @UNDEREFFCT 5 місяців тому

    What if i need to put 2 different items in a single slice for example counter and error variables that i wanna mutate, and both have different values? Should i then create a seprate slices for error and for counter?

  • @web.tricks
    @web.tricks 11 місяців тому +1

    I'm wondering, why these videos doesn't get more viewes as other videos. Very knowledgeable video, keep it up 🔥

  • @pavankalyan_nvs
    @pavankalyan_nvs Рік тому +1

    Thank you so much for the course

  • @Sayada
    @Sayada Місяць тому

    If we want to send jwt to the server, where are we going to store the jwt in the rtk query ?

  • @richard_levi17916
    @richard_levi17916 Рік тому +1

    Hi Huxn, can we expect tanstack query tutorial with projects soon? Don't wanna put you under pressure if you're already onto something but if you feel like doing so then kindly do it.

    • @huxnwebdev
      @huxnwebdev  Рік тому +1

      Already working on project but when that's done, ill definitely make a video/course on tanstack query 🥂

  • @mahmud12323
    @mahmud12323 11 місяців тому +1

    hello could you tell me the name of theme, and also in order to make font for function name cursive or for object keys bold do u use css for vscode?

    • @huxnwebdev
      @huxnwebdev  11 місяців тому

      Bro I already have a video on that

  • @Uncaught_in_promise
    @Uncaught_in_promise Рік тому +1

    Thanx for a regular font! Much much better

  • @MAK_007
    @MAK_007 7 місяців тому

    great video thank you

  • @hetpatel1772
    @hetpatel1772 11 місяців тому

    hey need to know what's your vscode theme ?
    it's looking good and also a good explaination

  • @tristianchung8383
    @tristianchung8383 Рік тому +1

    hi huxn i wish u will cover react query deep dive instead of basic introduction and remix cause there are not so much content about remix on youtube. big thanks from Malaysia

    • @huxnwebdev
      @huxnwebdev  Рік тому

      ill see what i can do.
      .
      Am i not going into depth in my courses?

  • @dhruvirajyaguru7170
    @dhruvirajyaguru7170 4 місяці тому

    thank you ❤

  • @imagination3124
    @imagination3124 Рік тому +1

    Let's goooo🎉🎉🎉🎉

  • @MustafaAhmed-i2p
    @MustafaAhmed-i2p 7 місяців тому +1

    which vscode theme r u using?

  • @HagaPada-v7n
    @HagaPada-v7n Рік тому +1

    I really liked your teaching style bro. Is there any chance you'll be making a course on PostgreSQL

  • @yakeinpoonia
    @yakeinpoonia Рік тому +1

    one question sir should i follow the sequence of full stack web development playlist or that is playlist is random. [open for any advice from seniors]

    • @huxnwebdev
      @huxnwebdev  Рік тому

      Here 👇
      ua-cam.com/play/PLSDeUiTMfxW6VChKWb26Z_mPR4f6fAmMV.html

  • @kirubel-habte-2175
    @kirubel-habte-2175 Рік тому +1

    Hey, i always want to ask you "how you can make your font style curly in vscode?"

    • @huxnwebdev
      @huxnwebdev  Рік тому

      I already made 3 videos on that.

  • @amalmurikkoli7629
    @amalmurikkoli7629 Рік тому

    Can you please tell me which browser are you using?

  • @abirkolin4702
    @abirkolin4702 7 місяців тому

    man great tutorial!!! thanks a lot

  • @playcoursesonline
    @playcoursesonline Рік тому +1

    Thanks for this Please Next flutter please

  • @azfarkhan8936
    @azfarkhan8936 10 місяців тому

    Is it possible to make api call on my will to keep the data updated? I mean how to use buster in RTK query?

  • @priyanshuganatra
    @priyanshuganatra Рік тому

    Hey Husain where are from? You're an amazing teacher ❤

  • @rntbuilds
    @rntbuilds Рік тому +1

    thanx i needed this

  • @ddung203
    @ddung203 Рік тому +1

    Could you make a video about Pinia or VueX? Your videos are great. Thank you!

  • @sairaj4829
    @sairaj4829 9 місяців тому

    Thanks, that was hell lott of learning. ):

  • @niteshprajapat7918
    @niteshprajapat7918 Рік тому +1

    You are awesome Sir ❤🎉
    I will revise these from this video too. 🎉
    RTK query is plus point 💪🔥
    Thank you Sir 🔥💪
    One request :- please speak bit slowly 😅😅

  • @PrMovies0
    @PrMovies0 Рік тому +3

    Hey Bro Please Make Next Video React Form Hook Library. And I'm waiting For 😢

  • @josbexerra8115
    @josbexerra8115 Рік тому +1

    Emocionado con el tutorial....

  • @supritshah1289
    @supritshah1289 9 місяців тому

    Great comprehensive guide on Redux ToolKit and RTK Query. how do you integrate both? Data fetching using RTK and state management using Redux?

    • @toystory3167
      @toystory3167 9 місяців тому

      Same question, did u get solution?

    • @NikspritTravel360
      @NikspritTravel360 9 місяців тому

      @@toystory3167yup. RTK does not require to have state management according to the developer who posted on stack over flow. Are you working on a personal project?

  • @ISoaw
    @ISoaw 10 місяців тому

    I think that for using the mutation inside an try catch block you need to await and .unwrap() it

  • @pratikbhujbal6915
    @pratikbhujbal6915 Рік тому +1

    Thank You Huxn

  • @alokranjanjoshi5934
    @alokranjanjoshi5934 6 місяців тому

    Which browser do you use? Can you please tell.

  • @hameeeed5992
    @hameeeed5992 5 місяців тому

    Thanks man

  • @SalmanKhan-kd7bj
    @SalmanKhan-kd7bj Рік тому

    Its easy,,, use rtk and rtk query together using extrreducers , not separate

  • @lingeshnafeax
    @lingeshnafeax 11 місяців тому +1

    What theme are you using??

  • @amalmurikkoli7629
    @amalmurikkoli7629 Рік тому +1

    Will you make a TanStack Query course?

  • @FrankMaruf
    @FrankMaruf 11 місяців тому

    Thanks 😍

  • @JuliaBelchior-ez5rh
    @JuliaBelchior-ez5rh Рік тому

    Do you plan to take a Standard Library course in Go ?

  • @SharpVisions-f9y
    @SharpVisions-f9y Рік тому +1

    thnkoo sir🥰

  • @bilal5488
    @bilal5488 11 місяців тому

    I got it but facing soo much issues in my project i have made the backend but in redux toolkit or query i got stuck😢

  • @aeeweb6464
    @aeeweb6464 Рік тому

    how to use rtk with multible pathname products and auth and cart etc pleassse

  • @devT44
    @devT44 Рік тому

    Sir, web accessibility ke upar bhi ek detailed video layie.

  • @kapilvaishnav6851
    @kapilvaishnav6851 Місяць тому

    how to get slides ?

  • @abhaytiwari5991
    @abhaytiwari5991 Рік тому +1

    Thanks bruhh

  • @gayathripriyankaramesh7867
    @gayathripriyankaramesh7867 Рік тому

    Please upload video for Angular 17

  • @abid_dasurkar
    @abid_dasurkar 11 місяців тому

    In 32:00 whole redux❤❤❤❤

  • @charlezvinoth
    @charlezvinoth Місяць тому

    Thank HuXn.

  • @imomorfaruk
    @imomorfaruk 11 місяців тому

    Best one

  • @korngsamnang
    @korngsamnang Рік тому

    It's funny that you got so many requests to make videos about modern technology today, but you decided to make a Redux course. I don't think everyone still uses Redux. Anyway, I still appreciate your effort.

    • @thezeeshann
      @thezeeshann Рік тому

      So what do you do use

    • @richard_levi17916
      @richard_levi17916 Рік тому +2

      What world you living in? Rtk is the most popular state management library used not only in start ups but in mncs too. Yeah I agree that Zustand library is in limelight now but still developers prefer rtk over zustand.

    • @huxnwebdev
      @huxnwebdev  Рік тому +1

      Guys chill-out, he meant "Redux Core" i guess?

    • @thezeeshann
      @thezeeshann Рік тому +1

      @@huxnwebdev maybe he thought zustand, Tan Stack query(react query)

  • @hariharansubramanian-
    @hariharansubramanian- 4 місяці тому

    What theme & font ?

  • @maratha_empire003
    @maratha_empire003 5 місяців тому

    name of vs code theme and fonts extension of this video plz bro 🙌🙌🙌🙌🙌🙌🙏🙏🙏🙏🙏🙏

  • @RAJA-SAHEB
    @RAJA-SAHEB Рік тому +15

    Bro do you have a paid course, because i don't know what you are gonna teach us after teaching everything in free????😳😳😳😳😳😳😳😳😱😬😬😬😬🤐🤐🤐🤐

    • @huxnwebdev
      @huxnwebdev  Рік тому +17

      haha ill do my best to provide all of my courses for free 🥂

    • @Ssmb-qj4df
      @Ssmb-qj4df 10 місяців тому +1

      ​@@huxnwebdevdude your the best web dev teacher on youtube.
      Please make some next level next js projects as well

    • @ashrafmohammed7249
      @ashrafmohammed7249 5 місяців тому +2

      ​​@soumakirimoto2195 lol that was one heck of a statement

  • @yalghaarssg538
    @yalghaarssg538 11 місяців тому

    ❤❤❤❤❤

  • @mendaxassange4465
    @mendaxassange4465 7 місяців тому

    vscode theme name..?

  • @bilal5488
    @bilal5488 Рік тому +1

  • @sumeetb-06
    @sumeetb-06 7 місяців тому

    I didn't like the react toolkit query for data fetching, tanstack react query is far better for server state and react toolkit for client state.

  • @thezeeshann
    @thezeeshann Рік тому +1

    The section on RTK Query was good but the section on Redux Toolkit was not good. Bro, you left it by telling me a counter app, I was expecting more.

    • @huxnwebdev
      @huxnwebdev  Рік тому +2

      I already build 15hrs long projects, atleast watch the beginning of the video for about 3mins dude, I already mentioned that.

    • @thezeeshann
      @thezeeshann Рік тому

      @@huxnwebdev okay okay got it. I see

  • @motivationalmusic3721
    @motivationalmusic3721 3 місяці тому

    you are hacker bro

  • @Василий-й1у
    @Василий-й1у 4 місяці тому

    Sorry, but Redux is Reduculous

  • @tfnsansu1727
    @tfnsansu1727 8 місяців тому

    ❤❤❤