Redux vs Context API: Which One Should You Use?

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

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

  • @itzazeez6662
    @itzazeez6662 ปีที่แล้ว +4

    I like your content mate but why we should redux in big application why not context? What happens internally that we use redux? Because in interview we cant say big car so big engine

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

      Redux comes with more boiler plate code but it's code available in structured way. On the other hand, React Context is little hard to manage in complex applications where you need 10-20 contexts. That's the basic difference for selecting Redux vs Context

  • @rr2r2r2ra
    @rr2r2r2ra ปีที่แล้ว

    also, after changing tailwindcss to postcss in script folder, now I have to press save button twice in order for the changes to reflect in live server, why is that

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      Maybe it is taking time to reflect. Not sure about that brother❤❤

  • @spoodermen2530
    @spoodermen2530 ปีที่แล้ว

    i just bought your udemy course, lets see how this one goes.

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      Thank you so much. Grateful for that❤❤

    • @spoodermen2530
      @spoodermen2530 ปีที่แล้ว

      ​@@CodeBlessYou i finished watching your course till the end. sat down at around 6:50pm and finished watching around 11:50. ive left a 5 star rating on udemy

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      Thank you so much for your feedback. I am really really grateful for that@@spoodermen2530 ❤❤

  • @JennaWednesday1
    @JennaWednesday1 ปีที่แล้ว +4

    I really like your teaching style. I finished your Udemy tailwind course. Hope you make one for MERN backend 😊

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว +1

      Currently, I am working on MERN Stack Frontend course (React Course). After finishing that, I will start creating backend course. Thank you so much for your support. Really grateful for that❤❤

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

    Great explanation for the difference. Thank you

  • @codingwave56
    @codingwave56 ปีที่แล้ว +1

    is your Telwind Css course is enough? for learning good amount of Telwind?

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      Tailwind CSS is only for getting the same style in less CSS. It's on you how you practice it. ❤❤❤

  • @andrews13
    @andrews13 ปีที่แล้ว +1

    Btw, which is actually the best way for avoiding prop drilling for very large complex projects in 2023, if you are free to choose any?

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      You can use Redux or you can try new library Zustand. But for zustand, you have to learn React Query.
      If you want to learn Redux for FREE I have my Redux course - www.udemy.com/course/the-ultimate-redux-course-state-management-library/?couponCode=0EB47E70B94DC6A05E7D

    • @andrews13
      @andrews13 ปีที่แล้ว

      @@CodeBlessYou Thank you!

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

    I'm attending interview in a while, just watched your video to get an outline, got a pretty good idea about redux & ContextAPI

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

      All the very best for your interview❤❤❤

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

      how was your interview?

  • @rr2r2r2ra
    @rr2r2r2ra ปีที่แล้ว

    Hello, just retook your tailwind udemy course and is there any fix for Unknown at rule @tailwind. I always have to install extension PostCSS Language Support but in your course, you didn't do it but didn't encounter this problem.

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      Don't Know about that issue. Maybe it is new update

  • @SM10170
    @SM10170 ปีที่แล้ว

    Sir can you provide important job interview questions on react and js... Please

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

    no such thing as codex blesx or askx or etc, nonerx

  • @madman-uw9ii
    @madman-uw9ii 11 หลายเดือนก่อน

    Context api is not a state management tool. It can be used to avoid prop drilling. If you context api as a whole for managing global state which would cause all of your consumers to rerender

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

    i am making a project using redux. but i still need a lots of props to pass through each component and i am defining the states in app.js and sending it to different components(according to my need) and using slices to get the functions(reducers) only. Can i make another slice to store all states. I am asking you because i have not made much projects using redux toolkit

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

      If you are using redux, then you can use your data in all over your application without manually passing it through the props. You can watch my Redux starter course on TH-cam for understanding Redux. Here is the Link - th-cam.com/video/yJ6of6nPBVg/w-d-xo.html

  • @guptapandiri
    @guptapandiri ปีที่แล้ว

    Thank you for the nice explonation, but apart from the Logistical difference (based on size or complexity of the app), is there any difference using Redux and Context API technically?

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

    Can you create Remix Js course?

    • @CodeBlessYou
      @CodeBlessYou  11 หลายเดือนก่อน +1

      Sorry, I don't have any plans for Remix JS

  • @dramafanatic2754
    @dramafanatic2754 ปีที่แล้ว

    Hello buddy big fan of u

    • @dramafanatic2754
      @dramafanatic2754 ปีที่แล้ว

      May i get ur insta I'd want ur little help

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      @@dramafanatic2754 Thanks for your support but currently, I am not using instagram because I want to focus on my new React JS course. You can ask here. Again sorry for that❤❤

    • @dramafanatic2754
      @dramafanatic2754 ปีที่แล้ว

      I am getting this error in my frontend would u help to fix this

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      @@dramafanatic2754 Did you solve that?

    • @dramafanatic2754
      @dramafanatic2754 ปีที่แล้ว

      Plss help me to fix this i am unable to do this

  • @johntavolt7027
    @johntavolt7027 ปีที่แล้ว

    Very useful video. Thanks.

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      Thanks for your support❤❤

  • @lokeshvasnik6872
    @lokeshvasnik6872 ปีที่แล้ว

    Bro how do you edit you videos

  • @adityasinghrawat4429
    @adityasinghrawat4429 ปีที่แล้ว

    next vedio when bro

    • @CodeBlessYou
      @CodeBlessYou  ปีที่แล้ว

      Sorry for that. Currently I am working on Complete React course and thats why I am not regular on youtube. But I will try my best for that❤❤