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

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.ค. 2024
  • 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 👇
    TH-cam: / @huxnwebdev
    GitHub: github.com/huxn-webdev
    Twitter: / huxnwebdev
    Instagram: ❌
    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

ความคิดเห็น • 115

  • @huxnwebdev
    @huxnwebdev  5 หลายเดือนก่อน +9

    Project 1 👇
    th-cam.com/video/PRpTY5LS95M/w-d-xo.html
    Project 2 👇
    th-cam.com/video/Bd1EBSCu2os/w-d-xo.html
    Complete Source Code 👇
    github.com/HuXn-WebDev/Redux-Toolkit-and-RTK-Query

    • @BLACKDREAMIO
      @BLACKDREAMIO 5 หลายเดือนก่อน

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

    • @hungnguyentuan1989
      @hungnguyentuan1989 หลายเดือนก่อน

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

  • @abid_dasurkar
    @abid_dasurkar 4 หลายเดือนก่อน +5

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

  • @sujalsharma218
    @sujalsharma218 4 หลายเดือนก่อน +1

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

  • @karan_0207s
    @karan_0207s 4 หลายเดือนก่อน +4

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

    • @huxnwebdev
      @huxnwebdev  4 หลายเดือนก่อน

      Thanks for your amazing feedback on the course!

  • @jacobswiney9977
    @jacobswiney9977 3 หลายเดือนก่อน

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

  • @ramaraghu4688
    @ramaraghu4688 หลายเดือนก่อน

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

  • @RizaHariati
    @RizaHariati 3 วันที่ผ่านมา

    Thank you! Very clear, easy to follow.

  • @hungnguyentuan1989
    @hungnguyentuan1989 หลายเดือนก่อน

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

  • @dragonhot6951
    @dragonhot6951 3 หลายเดือนก่อน

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

  • @ia5160
    @ia5160 5 หลายเดือนก่อน +1

    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  5 หลายเดือนก่อน

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

  • @Leesdjo
    @Leesdjo 5 หลายเดือนก่อน +1

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

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน

      You're very welcome!

  • @abirkolin4702
    @abirkolin4702 13 วันที่ผ่านมา

    man great tutorial!!! thanks a lot

  • @LuckyRathod20
    @LuckyRathod20 หลายเดือนก่อน

    This was a masterpiece 🤩

  • @wishmeheaven
    @wishmeheaven 4 หลายเดือนก่อน +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  4 หลายเดือนก่อน +2

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

    • @wishmeheaven
      @wishmeheaven 4 หลายเดือนก่อน

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

  • @pushkarkumar5578
    @pushkarkumar5578 5 หลายเดือนก่อน +2

    mast samhjaya bhai

  • @jssecrets
    @jssecrets 3 หลายเดือนก่อน +1

    😊I enjoy your cheerful character

  • @muhammadahsan9248
    @muhammadahsan9248 5 หลายเดือนก่อน +1

    Great video sir

  • @pavankalyan_nvs
    @pavankalyan_nvs 5 หลายเดือนก่อน +1

    Thank you so much for the course

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +1

      You're Welcome

  • @Dannynguyen.e-commerce
    @Dannynguyen.e-commerce 2 หลายเดือนก่อน

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

  • @josbexerra8115
    @josbexerra8115 5 หลายเดือนก่อน +1

    Emocionado con el tutorial....

  • @Cornerboy2001
    @Cornerboy2001 หลายเดือนก่อน

    best explanation best one in youtube

  • @web.tricks
    @web.tricks 4 หลายเดือนก่อน +1

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

  • @sairaj4829
    @sairaj4829 หลายเดือนก่อน

    Thanks, that was hell lott of learning. ):

  • @MAK_007
    @MAK_007 20 วันที่ผ่านมา

    great video thank you

  • @iskokomianbouwy3275
    @iskokomianbouwy3275 4 หลายเดือนก่อน

    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❤

  • @hetpatel1772
    @hetpatel1772 4 หลายเดือนก่อน

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

  • @anthrax2789
    @anthrax2789 5 หลายเดือนก่อน +1

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

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +1

      Best of luck!

  • @azfarkhan8936
    @azfarkhan8936 3 หลายเดือนก่อน

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

  • @lingeshnafeax
    @lingeshnafeax 4 หลายเดือนก่อน

    What theme are you using??

  • @amalmurikkoli7629
    @amalmurikkoli7629 5 หลายเดือนก่อน

    Can you please tell me which browser are you using?

  • @FrankMaruf
    @FrankMaruf 4 หลายเดือนก่อน

    Thanks 😍

  • @akinchitb2
    @akinchitb2 5 หลายเดือนก่อน +2

    Thank you brother 🤲

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +1

      You are welcome

  • @Coffee2Trade
    @Coffee2Trade 5 หลายเดือนก่อน +1

    Thanks for this Please Next flutter please

  • @BMikel
    @BMikel 5 หลายเดือนก่อน +1

    Thanx for a regular font! Much much better

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +1

      Enjoy 🥂

  • @imagination3124
    @imagination3124 5 หลายเดือนก่อน +1

    Let's goooo🎉🎉🎉🎉

  • @aminulislamshykat
    @aminulislamshykat 5 หลายเดือนก่อน +1

    awesome video for beginners

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน

      Glad it was helpful!

  • @enggved
    @enggved 3 หลายเดือนก่อน

    dost ek baat me bahut confuse rhtaa hu ki nextjs seekhne ke baad in cheejo kaa koi use hai, i mean if i go with react basics +nextjs mastery fir redux, toolkit andrtk query inkee need kyaa rhegi, by the way aapki energy and tareeka bahut achchhaa hai

  • @reactnativetypescriptbuilds
    @reactnativetypescriptbuilds 5 หลายเดือนก่อน +1

    thanx i needed this

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน

      You're welcome.

  • @pratikbhujbal6915
    @pratikbhujbal6915 5 หลายเดือนก่อน +1

    Thank You Huxn

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +1

      You're Welcome 🥂

  • @dev_ression
    @dev_ression 5 หลายเดือนก่อน +1

    Awesome stuff bro!

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +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 5 หลายเดือนก่อน +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 :(

  • @user-ey8wr7fc2y
    @user-ey8wr7fc2y 21 วันที่ผ่านมา

    which vscode theme r u using?

  • @SalmanKhan-kd7bj
    @SalmanKhan-kd7bj 4 หลายเดือนก่อน

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

  • @mahmud12323
    @mahmud12323 4 หลายเดือนก่อน +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  4 หลายเดือนก่อน

      Bro I already have a video on that

  • @priyanshuganatra
    @priyanshuganatra 5 หลายเดือนก่อน

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

  • @aeeweb6464
    @aeeweb6464 4 หลายเดือนก่อน

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

  • @ISoaw
    @ISoaw 3 หลายเดือนก่อน

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

  • @yakeinkumar
    @yakeinkumar 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน

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

  • @ddung203
    @ddung203 5 หลายเดือนก่อน +1

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

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน

      Great suggestion!

  • @user-hl2lc7rs5d
    @user-hl2lc7rs5d 5 หลายเดือนก่อน +1

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

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +1

      Yes, soon

  • @imomorfaruk
    @imomorfaruk 4 หลายเดือนก่อน

    Best one

  • @PrMovies0
    @PrMovies0 5 หลายเดือนก่อน +3

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

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน

      NOTED

  • @supritshah1289
    @supritshah1289 2 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

      Same question, did u get solution?

    • @NikspritTravel360
      @NikspritTravel360 2 หลายเดือนก่อน

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

  • @kirubel-habte-2175
    @kirubel-habte-2175 5 หลายเดือนก่อน +1

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

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน

      I already made 3 videos on that.

  • @gayathripriyankaramesh7867
    @gayathripriyankaramesh7867 5 หลายเดือนก่อน

    Please upload video for Angular 17

  • @richard_levi17916
    @richard_levi17916 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน +1

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

  • @JuliaBelchior-ez5rh
    @JuliaBelchior-ez5rh 5 หลายเดือนก่อน

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

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +1

      ill see what i can do.

  • @tristianchung8383
    @tristianchung8383 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน

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

  • @abhaytiwari5991
    @abhaytiwari5991 5 หลายเดือนก่อน +1

    Thanks bruhh

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน

      You are welcome

  • @bilal5488
    @bilal5488 3 หลายเดือนก่อน

    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😢

  • @devT44
    @devT44 5 หลายเดือนก่อน

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

  • @amalmurikkoli7629
    @amalmurikkoli7629 5 หลายเดือนก่อน +1

    Will you make a TanStack Query course?

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +1

      Sure!

  • @muhammadahsan9248
    @muhammadahsan9248 5 หลายเดือนก่อน +1

    Some next js 14 projects

  • @bilal5488
    @bilal5488 5 หลายเดือนก่อน +1

  • @tfnsansu1727
    @tfnsansu1727 หลายเดือนก่อน

    ❤❤❤

  • @abid_dasurkar
    @abid_dasurkar 4 หลายเดือนก่อน

    In 32:00 whole redux❤❤❤❤

  • @yalghaarssg538
    @yalghaarssg538 4 หลายเดือนก่อน

    ❤❤❤❤❤

  • @user-lp5eg8bs7m
    @user-lp5eg8bs7m 5 หลายเดือนก่อน +1

    thnkoo sir🥰

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +3

      Welcome 😊

  • @korngsamnang
    @korngsamnang 5 หลายเดือนก่อน

    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 5 หลายเดือนก่อน

      So what do you do use

    • @richard_levi17916
      @richard_levi17916 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน +1

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

    • @thezeeshann
      @thezeeshann 5 หลายเดือนก่อน +1

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

  • @deepmane5845
    @deepmane5845 5 หลายเดือนก่อน +1

    Can you explain how to use Redux Toolkit or React Redux in Next.js? After implementing it, our entire application can be either client-side or server-side. I'm unclear on how to properly use it in Next.js, so could you clarify my doubts? Also, please explain the advantages and disadvantages of using Redux in Next.js.
    I've noticed that there are tutorials on TH-cam not covering the use of Redux in Next.js. Is Redux unnecessary in Next.js, or is there a reason it's not widely used? If a larger application requires Redux in Next.js, how is it implemented?
    I'd appreciate it if you could address these concerns in your next video. I've commented multiple times on other channels, but I haven't received any responses. If you can create a video on this topic, it would be immensely helpful, as I've been struggling with these questions, and it seems others may have similar doubts. Thank you!

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +1

      NOTED i'll definitely make a video on that.

    • @deepmane5845
      @deepmane5845 2 หลายเดือนก่อน

      @@huxnwebdev
      After research i found this
      Conclusion
      Using RTK Query in a Next.js application primarily results in a client-side application, but you can leverage server-side rendering capabilities to pre-fetch data on the server-side for improved performance and SEO. This hybrid approach allows you to enjoy the benefits of both client-side and server-side rendering while leveraging the power of RTK Query for data fetching and caching.

  • @mendaxassange4465
    @mendaxassange4465 6 วันที่ผ่านมา

    vscode theme name..?

  • @niteshprajapat7918
    @niteshprajapat7918 5 หลายเดือนก่อน +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 😅😅

    • @huxnwebdev
      @huxnwebdev  5 หลายเดือนก่อน +3

      haha ok NOTED 🤝

  • @RAJA-SAHEB
    @RAJA-SAHEB 5 หลายเดือนก่อน +8

    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  5 หลายเดือนก่อน +10

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

    • @Ssmb-qj4df
      @Ssmb-qj4df 3 หลายเดือนก่อน +1

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

  • @thezeeshann
    @thezeeshann 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน +2

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

    • @thezeeshann
      @thezeeshann 5 หลายเดือนก่อน

      @@huxnwebdev okay okay got it. I see