RTK Query Crash Course

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 69

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

    00:00 - Intro
    04:24 - Getting Started
    06:07 - Installing Packages
    06:56 - Backend Setup
    09:68 - Creating Slice
    22:53 - Creating a Store
    27:45 - promo
    29:17 - Fetch Data and show in UI
    34:23 - Setup React-Router-DOM
    45:15 - CREATE Operation
    54:28 - update & re-fetching issue explanation
    55:55 - automated re-fetching explanation
    58:00 - adding TAGS to slice
    01:02:31 - DELETE Operation
    01:06:05 - EDIT Operation
    01:20:33 - Tranform Response
    01:26:45 - Outro

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

    Excellent explanation, sir. Today, my whole day went in frustration about RTK queries, but now I understand how to use it. Thank you very much!

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

    Thanks Bro.... Your way of teaching is awesome.

  • @AbdullahWaseem-t8b
    @AbdullahWaseem-t8b 5 місяців тому

    have never watch this simple explanation in a while on complex topic.

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

    Tutorial was amazing , since many youtubers only taught code your was different

  • @web-dev.ashishk
    @web-dev.ashishk Рік тому +2

    Hi Sir , We love your content so much , as you explain every one can understand

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

    Your way of explanation is too good, I understood everything about rtk query, Thanks a lot.

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

    That video is extremely helpful video thanks you so much sir ❤

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

    Best Video and Explaination Ever!

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

    Someone please comment the timestamps for this video .i will pin it.

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

    Your videos are very informative. Please add new videos related to DSA required for cracking Javascript and also coding questions related to ReactJs.

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

      Maybe in future. For now please check roadside coder or js cafe channel for dsa , they have some good video on frontend dsa

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

    Thank you so much bhai.. This is the best video on Internet for RTK query

  • @RavindraSingh-lp9pl
    @RavindraSingh-lp9pl Рік тому

    very useful tutorial very precisely explained...keep up the nice work :)

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

    Bhaiya next video please make on using TypeScript with full explanation of each concept

  • @unknown-oc6vj
    @unknown-oc6vj Рік тому

    sir app bhot mast padate ho bas video thoda frquently dalo. keep it up!!

  • @rakeshkumarparida98
    @rakeshkumarparida98 26 днів тому

    great explanation

  • @Tablet-q4v
    @Tablet-q4v Рік тому

    love this rtk

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

    Great ❤❤❤

  • @FarzanaBashir-p3s
    @FarzanaBashir-p3s Рік тому

    hush shabash ay

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

    Hey there can you make a video on how to use we socket using rtk query it'll be really helpful thnq

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

    Which one is best rtk query or tanstack query and can we use redux with tanstack query

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

    shukria bhai

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

    Thanks for this video

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

    nice video. Thanks

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

    one question, how to access the loading or data states of one rtk hook from one component to others? like if i did a mutation in component A then i want to access the loading state of mutation in component B, how to do so?

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

      @factedge well that didn't worked, what i found was, we gotta give fixedCacheKet to the hooks of rtk query, and then use the same hook with same cacheKey then it worked as expected

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

    Thank you bro

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

    Sir react query me hu add to card par video banao na please

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

    Thanks

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

    Please make a crash course on typescript and typescript-react

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

    sir redux pe ek complete advance tutorial laiye jisme advance use of RTK query and redux ho with professonal way

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

    🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

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

    sir ❤❤❤❤

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

    Bhaiya why did we made the interface in students.model.ts and made a new Models folder?? Why we didnt define the interface/type there itself??

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

    this is amazing sir.

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

      I have a question. I got stuck in handling responses. lemme share the code here.

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

      from express:
      const existingUser = await db.user.findUnique({ where: { email: email } });
      if (existingUser)
      return res
      .status(409)
      .send({ message: `User, ${username} already exists` });

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

      how to extract this response and use it in my component?

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

      const response = await addUser(formData);
      console.log(response);
      if ("data" in response) {
      toast({
      title: "Success",
      description: `${response.data?.message}`,
      });
      } else {
      toast({
      title: "Error",
      description: `${
      "error" in response
      ? response.error?.data?.message
      : "Something went wrong"
      }`,
      });
      }

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

      Property 'data' does not exist on type 'FetchBaseQueryError | SerializedError'.
      Property 'data' does not exist on type 'SerializedError'.ts

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

    nice

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

    Me aapki sari video dekhuga muje react developer Banna hai 😢

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

    make tutorial of react, redux persist

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

    How todo pagination

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

    Sir mainy rtk query basic smj a gya h but rtk query docs me bht important section customize query ka usko b cover kr dety mainy docs dekha but smj ni ai

  • @FarzanaBashir-p3s
    @FarzanaBashir-p3s Рік тому +1

    sir g styled component ka bhi ik crash course banaye please

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

    one crash course for typescript

  • @AasifKhan-xt6os
    @AasifKhan-xt6os Рік тому +1

    bhai m join krna chahta hu but kya pata muje vo sb phele se aata ho jo aap isme sikhaoge. so plz list share kr skte ho kya konse topics sikhne ko milege

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

      The course content is clearly mentioned on the website. Feel free to check it.

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

    Hii Sir,
    How To Handle Error When Mutating , Or Showing Backend Response

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

      I Figure it out , Thanks for The Tutorial Sir

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

    Which is better rtk query or react query?

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

      It's depends if you are using redux toolkit in your than go with rtk query else using react query

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

    kash ap js use krty ts ki jagah tu best hota

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

      Kabhi na kabhi ts sikhna hi hoga..you cant run.. better learn it now..

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

    provide this in javascript also

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

    sir add edit ek sath bnake confuse krdiya

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

      But this is way how you should be writing in production.

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

    Hey please add optimising update into it