ReactJS Course [14] - Redux Toolkit Tutorial

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии •

  • @minhthien8651
    @minhthien8651 2 года назад +14

    Thanks to you, now I become React native developer. I'm going to work tomorrow.

  • @yajirushik2871
    @yajirushik2871 Год назад +3

    So I have obtained recruitment project, deadline 31 march, use React, Redux Toolkit(I have newer used it but I know context API so here I go) and testing library. React Front position, wish me luck!

  • @faizanahmed9304
    @faizanahmed9304 2 года назад +18

    This course is going crazy

    • @PedroTechnologies
      @PedroTechnologies  2 года назад +4

      Thank you!! I hope u mean cray in a good way hahaha

    • @excelemma5960
      @excelemma5960 2 года назад +2

      Guess I'm not the only one

    • @hamzapaskingakhtar
      @hamzapaskingakhtar Год назад

      @@PedroTechnologies This redux is not good. Down to my 2 brain cells trying to wrap my head around it.

  • @andresaliba
    @andresaliba 2 года назад +7

    Good video! Small tip: You can click anywhere in any line then press Alt + Shift + ArrowDown to copy that line down, no need to copy paste :)

    • @rnjack5427
      @rnjack5427 Год назад

      In my keyboard I needed use 4 buttons.. alt, shift, s AS arrow down button, function key for activate arrow key.. but I am now used to it.

    • @kartikkaushik8613
      @kartikkaushik8613 Год назад

      I use Custom key For Ctrl+D Its a lot convenient rather than that annoying Default set key.

  • @slaffsla
    @slaffsla Год назад +21

    It is a completely new concept to me, so I needed to rewatch it to kinda get it. This topic was hard, frankly, and I don't feel I can just use my knowledge. Will try watching your dedicated redux video. Otherwise a very fun and enriching course. Thank you from the bottom of my heart!

    • @samplechannel2312
      @samplechannel2312 Год назад +1

      same feeling

    • @venkateshnani0207
      @venkateshnani0207 Год назад +2

      Same😂

    • @eshw23
      @eshw23 Год назад +2

      Its redux, its very hard for experienced devs to, dont worry about it, it will come with a lot of practice.

    • @hamzapaskingakhtar
      @hamzapaskingakhtar Год назад +1

      @@eshw23 Same bro. I have watched it 2 or 3 times now. Building a sketch on how it builds up step by step. That helps. Then would recreate it while explaining it to myself. Then build a similar project for myself using the concept

    • @goodgirl9484
      @goodgirl9484 Год назад

      same

  • @dulnethbernard9638
    @dulnethbernard9638 4 месяца назад

    Only tutorial i could understand and apply to my project. Thank you and respect for not using counter as an example ❤

  • @elmaralijev7499
    @elmaralijev7499 Год назад +3

    Thanks, one of the best Redux Toolkit explanations you can find👍

  • @gopeshgoswami752
    @gopeshgoswami752 2 года назад +8

    The entire course is really amazing, but am I the only one who is having issues understanding Redux :)

  • @doktatyph
    @doktatyph 2 года назад +5

    Please after this, teach us how to work with AsyncThunk with redux toolkit, I found so many tutorial out there but it's so hard to understand the concept, trust me I'd massively appreciate for that 🙏

    • @PedroTechnologies
      @PedroTechnologies  2 года назад +5

      Im making an individual video for that!! The course will end with a project and a video on testing!

  • @mateuszpaszczyk5845
    @mateuszpaszczyk5845 2 года назад +2

    Great job!💪 Can You show us how to work with ESlint/Prettier in this series?🙏

  • @pizzaitaliana9835
    @pizzaitaliana9835 Год назад

    It is worth mentioning that when you write your reducers logic and update state you do it by directly mutating it.
    As we know that practice is strictly forbidden in React, but Redux uses a library called Immer under the hood to make it possible.

    • @Javi_Noble
      @Javi_Noble 10 месяцев назад

      Could you give an exmaple of the correct way to mutate the state? I'm new in react jeje

  • @muralikrishna9072
    @muralikrishna9072 2 года назад +3

    Wow, This course going awesome ❤

  • @Jonny2014D
    @Jonny2014D 4 месяца назад

    Been following you since day one of coding and I must say you’ve helped me get far and past imposter syndrome. First I have is, if I payed attention, I see you have only the store.ts file for redux. Is this correct? Second question is, so do we just create multiple slice functions, forgive me if that’s the incorrect vocab, for whatever we need to have flow with redux?

  • @kalixaegus4042
    @kalixaegus4042 2 года назад

    Bro keep continuing this kind of tutorial like basic to advance. All my knowledge in web dev comes from your video and I love it so much. Next tutorial make a node js and express tutorial basic to advance like this vid. Good job bro my classmates keep watching your vid

  • @davidzim2824
    @davidzim2824 2 года назад +1

    Tank you Man you make it really clear

  • @Sylar7773
    @Sylar7773 2 года назад +3

    Thank You, very good job 💪

  • @alisajadahmadi978
    @alisajadahmadi978 Год назад +1

    This is really new to me and I am in a foggy condition. I don't have ant idea about it. I am a little bit disappointed of myself

  • @paologonzales4361
    @paologonzales4361 2 года назад

    great video

  • @verydifferentthought
    @verydifferentthought Год назад +1

    That's where things get very complicated...

  • @feeltrig8822
    @feeltrig8822 2 года назад +3

    Please do redux toolkit query in next one

  • @appz5351
    @appz5351 2 года назад +2

    Hi Pedro - One small tip for you. I would be really nice to have "starter files" so that I can follow what you are doing from the same point as you are in the start of the video. Instead of having to go though all the files and (sometimes guess) what has to be deleted.
    TLDR: Starter files would be awesome so it's easier to follow your video - Thanks.

    • @TylerDeaton-xz9cz
      @TylerDeaton-xz9cz Год назад

      Was thinking the same thing. Other courses I've done provide that. I was sometimes tempted to grab the files to make it easier to do the assignments, but I didn't want to accidentally see the solution.

    • @hamzapaskingakhtar
      @hamzapaskingakhtar Год назад

      It ain't that much. Don't be lazy man

  • @nanonkay5669
    @nanonkay5669 2 года назад

    If you had covered data normalization, that would've been super

  • @alexyap9138
    @alexyap9138 Год назад +1

    Thanks Pedro! I liked how you explained everything so clearly. I haven't worked with React in a long time so this was a big help. You've earned yourself a new subscriber :) Anyway, back to studying! So many new things to learn!

  • @otasch
    @otasch 2 года назад +2

    Hi Pedro, great work!
    I have one question. Is there a particular reason why you used type assertion (as UserState) instead of type annotation ( : UserState) on timestamp 27:20 ?
    Thanks!🦾

  • @aditya205
    @aditya205 Год назад +1

    Hey Pedro! I wanna ask something that is redux being used further in the final project of this playlist? Cause I'm having a bit problem in understanding it...if it's necessary so i will focus on redux for a while.

  • @frontendwithsalimi
    @frontendwithsalimi Год назад

    hi pedro thank you for your course
    what course in your channel should i take after i finish this playlist course to be more advanced in react

  • @nro337
    @nro337 2 года назад +2

    Awesome!

  • @sumairimtiaz4545
    @sumairimtiaz4545 2 года назад

    Superb. Thank you very much sir.

  • @k303k
    @k303k 2 года назад

    Thank you so much Pedro!

  • @rakaa31
    @rakaa31 2 года назад +3

    caan u make graphQL with React in this series!

    • @ritwik121
      @ritwik121 2 года назад

      +1

    • @PedroTechnologies
      @PedroTechnologies  2 года назад

      I have a graphql course already which includes integration with React!! I would recommend watching that one right after this series 😁

  • @hamzapaskingakhtar
    @hamzapaskingakhtar Год назад +2

    What is happening>>>>>?????

  • @raymondtechmedia4469
    @raymondtechmedia4469 2 года назад +1

    Great course

  • @meraatmostafavi7758
    @meraatmostafavi7758 2 года назад

    thanks that was great, just what I wanted
    ❤❤❤

  • @ИннаБогданова-к4щ
    @ИннаБогданова-к4щ 2 года назад +1

    Pedro, one more comment: for me it seems to be more difficult to use redux toolkid, create context much more understandable and easy to use.
    How do u think am i wrong about it?

    • @PedroTechnologies
      @PedroTechnologies  2 года назад +5

      This is a common thought! Redux is ugly and we all agree that context api looks better. Thing is, whenever a state changes in a context provider, all the components using the context rerenders. So for large apps, just the context api isnt enough. But for beginners it is!

    • @ИннаБогданова-к4щ
      @ИннаБогданова-к4щ 2 года назад

      @@PedroTechnologies thanx, Pedro! Good Luck to you, and all your family!

  • @stepforward5881
    @stepforward5881 9 месяцев назад

    Hello , PedroTech. Ty for you great work.
    Could you help me with one problem? I can't figure out why did you use word "as" to assign interface for initialValue of slicer. What's the point and what is the rule? I can't find related info in documentation.

  • @kirthivaasan6309
    @kirthivaasan6309 2 года назад +1

    Hi Pedro, your tutorials is very helpful.
    In Login component while getting name from redux store we have not defined the type for state for timebeing it was given any. Should we just we just give a string ?

  • @cantcode1001
    @cantcode1001 Месяц назад

    Let’s make our login state an object with a nested object just to be complicated. Yay! Why not just have {user: “”}? I don’t see the point in nesting it inside a value property. You can still add other state properties to that simpler object when you need more state than just the login name. { user: “name”, darkMode: true } for instance.

  • @sonamohialdin3376
    @sonamohialdin3376 2 года назад

    Very useful tutorial thank you

  • @opeopemoni
    @opeopemoni 2 года назад +1

    Hello Pedro, thank you for giving the best courses ever !
    Everything is clear and well explained !
    I have a question, I have an error when I am trying to add a type "PayloadAction" for the action in the store
    It seems like "PayloadAction" can't be found.
    Do you, by any chance, know how to solve this ?
    Thanks !

  • @fortnitesmash7166
    @fortnitesmash7166 2 года назад

    Hey Pedro do we have to know redux ?
    To understand redux/toookit

  • @mohamedibrahim3294
    @mohamedibrahim3294 2 года назад

    you are amazing thank you for this awesome video

  • @ProwlerDigital
    @ProwlerDigital 2 года назад +1

    Can you tell us what the project is going to be :)

    • @PedroTechnologies
      @PedroTechnologies  2 года назад +1

      A small social media website! I believe is the best kind of project to teach the fundamentals. EP1 coming out tomorrow!!

  • @vityachess
    @vityachess Год назад +3

    Tough episode...

  • @ИннаБогданова-к4щ
    @ИннаБогданова-к4щ 2 года назад

    Great JOB!

  • @priyangpatel8135
    @priyangpatel8135 2 года назад

    13:00 would'nt in reducer return { ...state, changeProperty } would be better for immutablity.

  • @neelchalke6836
    @neelchalke6836 Год назад

    Thank You.

  • @saidberk6599
    @saidberk6599 Год назад +1

    anyone facing Cannot read properties of undefined (reading 'value') issue?

  • @kethakaranasinghe941
    @kethakaranasinghe941 Год назад

    Nice video bro🙂

  • @Kal-El-gm5pc
    @Kal-El-gm5pc 10 месяцев назад +2

    This one was kinda confusing

  • @ritankarbhattacharjee7661
    @ritankarbhattacharjee7661 2 года назад

    How to sustain the data in the state if somebody refreshes the page?

    • @mayor3367
      @mayor3367 2 года назад +1

      Use localStorage for persistence.
      In the login reducer function, you can do something like this, localStorage.setItem('user', JSON.stringify(state.value.user))
      In order to ensure that it can be received before the browser loads, you can do something like this in the initialState,
      const receivedUser = localStorage.getItem('user');
      {
      value: {
      user: receivedUser ? receivedUser : ""
      }
      }
      In order to ensure that you can still logout, you can add the following to the logout reducer,
      localStorage.removeItem('user') //This removes the user item from the localStorage module.

  • @olenayevtushok2014
    @olenayevtushok2014 Год назад +3

    OMG it's the most complicated video on the whole course... This topic needs slower explanation🤔

    • @jvoynar5826
      @jvoynar5826 Год назад

      Good news is, you can watch it many times!

  • @AfonsoFilipeJr
    @AfonsoFilipeJr Год назад

    Muito bem explicado!

  • @muhammadusmanakram406
    @muhammadusmanakram406 Год назад +1

    Its tough. I didn't get single thing.

    • @v2xna
      @v2xna Год назад

      lmao same dude 😭

  • @Dev-Phantom
    @Dev-Phantom 5 месяцев назад

    cool

  • @udaykulkarni5639
    @udaykulkarni5639 2 года назад +3

    First❤

  • @jpcc1223
    @jpcc1223 Год назад

    deus abençoe

  • @Dev-Phantom
    @Dev-Phantom 4 месяца назад

    cool