React Redux Tutorials - 20 - useSelector Hook

Поділитися
Вставка
  • Опубліковано 13 жов 2019
  • 📘 Courses - learn.codevolution.dev/
    💖 Support UPI - support.codevolution.dev/
    💖 Support PayPal - www.paypal.me/Codevolution
    💾 Github - github.com/gopinav
    📱 Follow Codevolution
    + Twitter - / codevolutionweb
    + Facebook - / codevolutionweb
    📫 Business - codevolution.business@gmail.com
    useSelector Hook in React Redux

КОМЕНТАРІ • 31

  • @jank8456
    @jank8456 4 роки тому +24

    this guy is really good, maybe the best instructor I have met on my long way. Keep teaching!

  • @mrugamajmudar5433
    @mrugamajmudar5433 2 роки тому

    Thank you very much. This is the only redux tutorial I found helpful for beginners like me. You explained each topic in its simplest form. Thanks again!

  • @zainuddin1205
    @zainuddin1205 3 роки тому +2

    Thank you for this wonderful teaching without any fees.

  • @BHARATKUMAR-vh5ex
    @BHARATKUMAR-vh5ex 2 роки тому

    Sir i have seen many videos but your way of teaching is far better than them some of them just go fast but that is not understandable you make everything so clear and so easily . Thank you for making this playlist.

  • @jordanuky
    @jordanuky 4 роки тому +6

    Incredible set of tutorials. I'd say the best out there!

    • @abeechr
      @abeechr 4 роки тому

      Jordan Utz agreed!

  • @kulashaker30
    @kulashaker30 2 роки тому +1

    These react-redux tutorials as well as the react-for-beginners series really helped me to get going on my react app project. However, I noticed that this useSelector hook was never used for async action. #29 tutorial only uses mapDispatchToProps I would really love to see async action with useSelector hook from a container. But overall I love all the tutorials I am also gearing up for my next series (nextJS) to watch. Thank you so much.

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

    @1:42
    "The selector function recieves the Redux state as it's argument"
    Bravo! You've explained in one sentence what every other video decided to skip over, causing me a long headache. That gets a thumbs up from me.
    Note to other instructors: Don't skip over logic, and allow magical things to happen in your tutorials meant for beginners. Especially when it takes literally 3 seconds to explain the logic, like in this case.

  • @anoopp227
    @anoopp227 3 роки тому

    Thank you for your great tutorial series. I learnt react concepts from you😀🎉

  • @balijapallythirupathi1262
    @balijapallythirupathi1262 2 роки тому

    what a explanation? , you are making understandable to lay man ....Thank you so much!!!!

  • @quinojuan2
    @quinojuan2 2 роки тому

    Muchas gracias por tu trabajo! Excelente

  • @doniaelfouly4142
    @doniaelfouly4142 4 роки тому +1

    Thank you :)

  • @silvanageorgioska9717
    @silvanageorgioska9717 2 роки тому

    It seems easy when You explaine! Thanks!!!

  • @som3ah0
    @som3ah0 3 роки тому

    💖 thank you so much 💖

  • @manliotejeda
    @manliotejeda 4 роки тому

    Me sirvió mucho tu vídeo, muchas gracias

  • @HasanKhan-nq2ch
    @HasanKhan-nq2ch Рік тому

    thanks save my time

  • @mikhaildevichensky6407
    @mikhaildevichensky6407 4 роки тому

    Спасибо!

  • @karthickeyanganesan4058
    @karthickeyanganesan4058 3 роки тому

    i am using useSelector mostly is it good to use or shall i use mapstatetoprops

  • @sumukhakb2701
    @sumukhakb2701 3 роки тому +1

    I think React hooks make it really easy to understand react and redux.

  • @0mb430
    @0mb430 4 роки тому +1

    Hi Vishwas, Can you please create video on How to use shallowequal in useSelector hook? when to use it with example.

  • @hkdelhivlogs
    @hkdelhivlogs 4 роки тому

    Sir how many videos are still pending for react redux course.

  • @DeepakGupta-hj2dv
    @DeepakGupta-hj2dv 4 роки тому +2

    Please make on series Express js

  • @sangtonsing9722
    @sangtonsing9722 3 роки тому

    It works on decrement(when buying cake the number of cake decrease) but when trying to increment it malfunctions. Suppose numOfCakes-10 and when we buy it gives us 9 but when incrementing the number instead of giving 11 it gives us 101, 1011, 10111, 101111... Why? is it an intention bug?

    • @ionutsandu2226
      @ionutsandu2226 3 роки тому +5

      This happens because the number of cakes is a string typed value. When you substract a number from a string, JS will automatically convert the string into a number so you substract a number from a number. This does not happen to addition because in JS you still can concatenate strings(add strings together).
      In order to fix this, before you do the addition, you should convert number of cakes to a number using the Number method.
      ex: Number(value1) + Number(value2) to make sure both values are type of number.

  • @zafarhussain8273
    @zafarhussain8273 2 роки тому

    How to do operation with useselector hook

  • @eduardohurtado48
    @eduardohurtado48 3 роки тому

    Where is the next video please? :(

    • @srikanthracharla420
      @srikanthracharla420 3 роки тому +1

      Please see the playlist of Redux by codevolution, He uploaded everything

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

    TypeError: Cannot read properties of undefined- ( reading 'numOfCakes')

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

      Go back to your CakeReducer component and in the cakeReducer function, make argument “state” to have and initialstate object which contain the “numOfCake” I.e (state=initailState, action ) => {} and all should work fine

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

    {2022-09-28}

  • @larsfroelich
    @larsfroelich 2 роки тому +1

    this didn't explain anything though.
    What is this, how does it work, what happens under the hood?