i like the way u structure this video, tell all the problem followed by conventional solutions that brings another problem, and finally tells the Immer covered both problem into one solution! WOW
@ikibkilam83834 жыл бұрын
Wow! You are brilliant, as always! Subtle react concepts can be hard to grasp, and you make it all very easy to comprehend.
@rishiagarwal67152 жыл бұрын
Such a beautiful explanation man ! 😍
@rkcoder4 жыл бұрын
This channel is a hidden gem
@CodingWithChaim4 жыл бұрын
Thank you! That’s much appreciated
@rkcoder4 жыл бұрын
@@CodingWithChaim Thank you for sharing your knowledge :)
@hanibal434 жыл бұрын
I love the example at first you show what the issue is with a real life example. those are super helpful to understand because im following along with the code
@CodingWithChaim4 жыл бұрын
I am really glad you found it helpful!
@ripern4 жыл бұрын
Finally someone who can explain things clearly! Excellent examples as well! Thanks!
@CodingWithChaim4 жыл бұрын
Thanks! Happy it was helpful
@AbcdefghijklmnopqrstuvwxyzLUL4 жыл бұрын
Straight to the point, clear and concise definitions for the problems and solution. Subbed.
@CodingWithChaim4 жыл бұрын
Thank you! Welcome to the channel
@mydemon3 жыл бұрын
This guys is nothing short of a genius teacher. Subbed less than 5 minutes in.
@두번째계정-z3b3 жыл бұрын
Thumbs up to clear comparisons and explanations :) thanks
@waqasaps2 жыл бұрын
WOW! this is the best video on internet. Thank you!
@aashayamballi4 жыл бұрын
That was clearly demonstrated... I'm really happy that I found this channel! Thank you so much for this and keep up the good work!
@CodingWithChaim4 жыл бұрын
I too am glad you found this channel :) glad you enjoyed!
@crispyjuggle9 ай бұрын
Very good and concise explanation. Thank you!
@kuroshzamani17754 жыл бұрын
Thanks for the tutorial.Its actually amazing how you illustrate the core problem and solution to that in a short video.
@CodingWithChaim4 жыл бұрын
Thank you! I appreciate the feedback
@alefalfa9 ай бұрын
Got it! Thanks Chaim
@sarcasticdna4 жыл бұрын
You deserve a lot more subs than you currently have. Subscribing yay!
@CodingWithChaim4 жыл бұрын
Much appreciated! Welcome to the channel
@Sarmadfarhankhan4 жыл бұрын
concise and complete ❤️ very good tutorial.
@CodingWithChaim4 жыл бұрын
Thank you! Glad you enjoyed it
@Sarmadfarhankhan4 жыл бұрын
@@CodingWithChaim I was stuck with updating json data in react state. Will try this deep copy by immersion. am glad i found this video.
@CodingWithChaim4 жыл бұрын
Please be aware that this is not a deep copy. The entire goal here is to avoid deep copying by using immer
@Sarmadfarhankhan4 жыл бұрын
@@CodingWithChaim got it thanks 👍
@kristiankramas59444 жыл бұрын
This really helped me out with some reoccurring problems. Thanks! 👏👏👏
@CodingWithChaim4 жыл бұрын
Awesome! Happy it helped!
@MitchellMagro3 жыл бұрын
man this is a life saver e. I was dealing with huge nested object and updating the state in react is a mess in that case. this library is woow e
@viveknigam30033 жыл бұрын
Really insightful explanation! 🙌🏻
@JT-cm3ff4 жыл бұрын
Thank you. I was struggling with rendering changes to my state for a solid 5 hours. You should reach out to Brad @ Traversy Media, maybe you can come in as guest presenter. It will give you a lot of exposure :)
@CodingWithChaim4 жыл бұрын
I am really glad you find this helpful! I would love to pair with Brad that would be amazing!
@mynameisdesign4 жыл бұрын
Thanks for this, best explanation ever man.
@CodingWithChaim4 жыл бұрын
You’re very welcome
@manujabandara84874 жыл бұрын
Superb content. Thank you. This solved my all the problems.
@CodingWithChaim4 жыл бұрын
My pleasure! Happy to hear that
@muhammadhamzahaneefqureshi50164 жыл бұрын
actually, can you tell me that i have almost 40 fields in my single form , and the architecture that i was follow in the beginning of my application was one parent and have multiple child sub form wrap into the stepper form but, the source state object was parent where all forms state exist almost 40 as i mentioned so the actual problem was that when ever i use onChange over my last stepper form fields so i feel its doing little noticeable hanging over onChange of single field. can immer can solve that kind of my problem ??
@CodingWithChaim4 жыл бұрын
Immer itself wont solve this problem. It seems to be you may want wrap your sub sub components with memo to make sure they do not render when they dont need to. Now immer will ensure that your memo wont break from accidentally mutating state that currently need not be changed
@muhammadhamzahaneefqureshi50164 жыл бұрын
@@CodingWithChaim well , I have solved this issue by adding redux and by utilizing individual component local state power... By the way any other method would you like to suggest.?
@paoloose3 жыл бұрын
thanks pope, you rock
@Meleeman0114 жыл бұрын
i don't see the problem with mutating data directly, why include an extra step?
@CodingWithChaim4 жыл бұрын
The rule in react is to never mutate state directly, which is why need this extra step. For a little more context and understanding of this rule I would suggest reading this SO post stackoverflow.com/questions/37755997/why-cant-i-directly-modify-a-components-state-really
@geralt363 жыл бұрын
Thank you for explaining like you would to a 5 year old. Subscribed
@mohammadalioruji40253 жыл бұрын
Thank you my friend
@CodingWithChaim3 жыл бұрын
You’re welcome!
@hamzaelaasemy45724 жыл бұрын
another great video, thank you :)
@CodingWithChaim4 жыл бұрын
You’re most welcome
@muriukialex3 жыл бұрын
loved the video but the voice was really low
@benyamin46343 жыл бұрын
thanks
@slimshady3807 Жыл бұрын
hay you look like shelldon kupar from youn sheldon movie series