Learn useState In 15 Minutes - React Hooks Explained

  Рет қаралды 1,215,062

Web Dev Simplified

Web Dev Simplified

Күн бұрын

Пікірлер: 1 200
@briandev8
@briandev8 3 жыл бұрын
Just wanted to say I'm a 39 yo man who currently enrolled into a school for software engineering. I often refer to your videos, and they have helped me maintain a perfect score so far in school. Thank you so much for these!!!!
@dangeorge3826
@dangeorge3826 3 жыл бұрын
How is it going, man? Have you found a job?
@briandev8
@briandev8 3 жыл бұрын
@@dangeorge3826 not yet, currently finishing up my portfolio now. Hope to have it done this week. But, I was able to help my friend who I met in this class to land a job. He had no prior coding knowledge. It's very possible. Super excited for him.
@dangeorge3826
@dangeorge3826 3 жыл бұрын
@@briandev8 and how old is him?
@briandev8
@briandev8 3 жыл бұрын
@@dangeorge3826 he is 37
@dangeorge3826
@dangeorge3826 3 жыл бұрын
@@briandev8 lol, congrats to him and good luck to you, man. I am 26, i am coding frontend for about 6 months and I am afraid that I will not get a job this year 😂
@HoldenMadagameTenor
@HoldenMadagameTenor 4 жыл бұрын
How is it possible for you to explain something in 15 minutes that I didn't understand from hours of watching other videos? You've seriously got a gift for teaching, and I feel like I have a much better comprehension of useState now. Thank you!
@lyawileh.a8741
@lyawileh.a8741 4 жыл бұрын
Sure.
@george527
@george527 3 жыл бұрын
148k people needs a 15min video for a 5 min documentation read?
@timzeynalov3537
@timzeynalov3537 3 жыл бұрын
look at the documentation on www.Reactjs.org and make same things
@HoldenMadagameTenor
@HoldenMadagameTenor 3 жыл бұрын
@@george527 How edgy shaming beginners for understanding something better from this video. So cool and edgy wow.
@george527
@george527 3 жыл бұрын
:))) imagine being called "edgy" for telling them that they can do it faster by reading. Im 100% sure no beginner was thinking: "This anonymous guy from KZbin with a stupid Icon made me feel ashamed that I watch videos"
@sethmccullough6206
@sethmccullough6206 4 жыл бұрын
You've got a phenomenal teaching style, Kyle. I can tell you always put in the time for proper preparation for your videos by how structured and easy to comprehend they are. As always, another excellent video, thanks!
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Thank you! I actually wrote an entire blog article for this video first before recording to help make sure I has covered everything I needed to.
@a.yashwanth
@a.yashwanth 3 жыл бұрын
@Jimmy Kristian where is your second account which will confirm it worked?
@sulochanakharat9033
@sulochanakharat9033 3 жыл бұрын
@@WebDevSimplified sir I like your good keep going but please make vedio on all 10 react hooks
@rrgeyddhdyr3373
@rrgeyddhdyr3373 Жыл бұрын
kzbin.infoluwxDqy6NC0
@dominicnzl
@dominicnzl 4 жыл бұрын
Thanks for the explanation, it's very easy to follow this way. I must admit I laughed at the typo at 5:57 but you recovered nicely
@errol1494
@errol1494 4 жыл бұрын
I came here to say this. He kept his poker face. Good job, Kyle!
@cool1010com
@cool1010com 4 жыл бұрын
Hey, who does not want to decrement a c*nt ?
@calebbeers6384
@calebbeers6384 4 жыл бұрын
As soon as I saw that, I minimized the video to scroll down and read the comments.
@stefanpop2257
@stefanpop2257 3 жыл бұрын
I decremented the screen to look for this comment as soon as I saw the typo..
@kim_nguyen_
@kim_nguyen_ 3 жыл бұрын
it happened to me once in a CCNA course when I typed no shit instead of no shut in front of my professor...
@donmikele07
@donmikele07 2 жыл бұрын
SMAL NOTE: 10:53 if you call function by reference, so "useState(countInitial)", so WITHOUT BRACKETS, the function will be called only once. Greate tutorial, great explanations, great teacher! Keep going!
@amantech683
@amantech683 4 жыл бұрын
my name is kyle and my job is to simplify the web for you so that u can start building your dream projects sooner .....I love this sentence
@kasuneranda8192
@kasuneranda8192 2 жыл бұрын
0% nonsense. 100% useful information. Awesome explanation!
@shawnxia3874
@shawnxia3874 4 жыл бұрын
Havn't seen a guy who explains useState better than you. Subscribed.
@pauljmorton
@pauljmorton 3 жыл бұрын
Finally somebody actually explained what the hell the "const [thing, otherthing] = stuff" syntax actually does, instead of saying "it's just some ES6 magic syntax".
@emgodas
@emgodas 8 ай бұрын
Who say's it's just some es6 magic syntax? I've never hear it from anyone here on KZbin
@pauljmorton
@pauljmorton 8 ай бұрын
@@emgodas My description of it being described as "just some es6 magic syntax" stemmed from the frustration of countless other tutorials going "just write this, you don't need to understand what this syntax means, just write it like this and it'll work" and not explaining it.
@Ahmed-mo7bg
@Ahmed-mo7bg Жыл бұрын
that was 15 min worth a whole week searching and watching multiple videos on the subjsct. thanks a lot and keep on the road simplifiying stuff...
@BJAnderson
@BJAnderson 3 жыл бұрын
Today was one of those days where I needed to learn something new, and instead of searching for hours... First search, first click, and 15 minutes later - learning accomplished. Thank you very much. Great tutorial!
@HannahSchzde
@HannahSchzde 6 ай бұрын
I love how clearly you explain everything, it really reflects your knowledge on the topic! TYSM!
@LanguageSkillz
@LanguageSkillz 3 жыл бұрын
10:57 highlight for running vs referencing any initial function is so nice. Also appreciating the attention to variable de-structuring syntax, way beyond notation purposes, as noticed below.
@shaun374
@shaun374 2 жыл бұрын
Thank goodness there's actually someone who takes time to explain wtf is going on in code. So many tutorials are just people flying through examples and not explaining or showing how things work at all.
@Alanm1963
@Alanm1963 4 жыл бұрын
I've been using react for over 4 years and off course am very comfortable with class components. Am currently adding to an existing application and decided to see what all the fuss was with functional components and hooks. Your 15 minutes on the nuance of basic concepts behind setState has been very helpful. Good video.
@hipH0p5tr3ss
@hipH0p5tr3ss 2 жыл бұрын
This is the clearest, most concise explanation of the useState hook that I have found, HANDS DOWN. Thank you!
@masonmarinko6548
@masonmarinko6548 4 жыл бұрын
This was amazing, getting into react for last part of our boot camp and it goes so fast they don't always go in depth, this made sense, and has helped me a LOT, thank you so much!!
@sdevane75
@sdevane75 2 жыл бұрын
just discovered you by this video (searching for react usestate) - I know nothing about react and little to no js. I'm 5 minutes love your presentation style, narration and examples - I understood everything easily. Thank you
@sdevane75
@sdevane75 2 жыл бұрын
.... I've just noticed everyone else's comments already pretty much said the same thing before me.
@MichaelCampbell01
@MichaelCampbell01 4 жыл бұрын
Oh, man, of all the typos you could have made, you made that one =D Great vid; well presented as always.
@suryasuresh9330
@suryasuresh9330 4 жыл бұрын
Haha i bet his heart dropped after typing that by accident XD
@farhanaditya2647
@farhanaditya2647 3 жыл бұрын
Timestamp?
@naruchancutie1
@naruchancutie1 3 жыл бұрын
@@farhanaditya2647 5:57
@bctsnq
@bctsnq 3 жыл бұрын
The way you built up the examples to show how to use hooks for scalar value, functions and objects and when we should use them - absolute gem!! Subscribed
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Vinodh! Are you a fresher or a working professional? Are you open to job opportunities in web development currently?
@battmarn
@battmarn 3 жыл бұрын
This was such a good tutorial. It actually explained everything methodically and using simple examples, without treating the viewer like an idiot. I love this channel.
@c0nsumption
@c0nsumption Жыл бұрын
The tip you gave on function initialization for use state is phenomenal. I boosted performance drastically in my application 😯
@bossbrackets8928
@bossbrackets8928 4 жыл бұрын
KYLE IS THE MAN!
@misaeljimenez636
@misaeljimenez636 2 жыл бұрын
Everytime i need to learn something i always check several chanels to find "the guy" but this kid is what he promises. He simplifies the web for us
@irieyaadricx1384
@irieyaadricx1384 4 жыл бұрын
I appreciate the explanation of the overlooked things that are usually.. 'Just done this way'
@donsonthewise
@donsonthewise Жыл бұрын
ive been going through tutorial hell for a while now. Ive watched a ton of teachers on youtube. I think you are by far the best and most intelligent coder ive come across. Im a 40 year old man and learning this stuff is not easy, but you definitely make it easier. Thank you Kyle.
@lukas.webdev
@lukas.webdev Жыл бұрын
All the best for your journey. My videos should be pretty helpful for you as well... 😉
@nanonkay5669
@nanonkay5669 4 жыл бұрын
Bro this video is made in Heaven, we needed this. Hooks are kinda confusing e.g. every time a component renders, it happens twice ( console.logs at 10:07 and 10:59). But hooks like useRef, useEffect and useCallback are the one's that confuse me the most
@kiyotaka721
@kiyotaka721 4 жыл бұрын
the double console.log happens with class components as well the reason is when u use create-react-app it by default uses strictmode which runs your code twice to debug it to remove go to index.js file and remove react.stricmode enclosing the app component
@miguelrivas9687
@miguelrivas9687 3 жыл бұрын
@@kiyotaka721 some new I learned, thanks.
@izzy24x73
@izzy24x73 2 жыл бұрын
This is absolutely the best explanation of React Hooks {useState}. I was struggling a lot not getting the correct understanding of this es6 style syntactic sugar.
@konamax9
@konamax9 3 жыл бұрын
Nicely done sir. Taking complex subjects and simplifying them so that a child could understand them is no easy feat. Seriously, people that can do that are the ones that lower barriers and allow new people into areas they might otherwise not venture. They demystify. You truly do have a gift and I very thankful for people like you.
@TheUrgleBurgle
@TheUrgleBurgle Жыл бұрын
I’m in a coding bootcamp right now and you are a godsend! Thank you for your videos. They help so much!
@420Sumanta
@420Sumanta 3 жыл бұрын
This was awesome. I never knew about passing a function to useState to optimize the performance.
@GG-uz8us
@GG-uz8us 3 жыл бұрын
I wonder why though. Function in JS is higher-order function, can be used as variable. Why here is different?
@SARAH-vh7jg
@SARAH-vh7jg 2 жыл бұрын
This is actually the best video to understand useState Hook. Everything is crystal clear! Thank you so much!
@TheRealKitWalker
@TheRealKitWalker 3 жыл бұрын
And I thought spending 15+ mins on just useState was an overkill. It was SOO WORTH IT!! loved the way you explained it all with appropriate examples. Thanks a lot Kyle. ✌️😎👏👏🌹
@mid9639
@mid9639 3 жыл бұрын
I couldn't understand this thing for weeks...you did the magic in 15 mins... Man !!! Some people are born to be good teachers ❤️ teaching someone or passing your knowledge to others , is one of the most noble thing to do ❤️
@daviidon
@daviidon 4 жыл бұрын
at 10:50 , you can pass the function literal into setState and it will have the same behavior as the anonymous function.. So do UseState(countInitial) instead of UseState(countInitial()).
@exodion4173
@exodion4173 3 жыл бұрын
Can u explain or refer to the concept on how this work ? Dont we have to call the function to run it ?
@muhammadsalmankhan9326
@muhammadsalmankhan9326 3 жыл бұрын
@@exodion4173 yes you do not have to call it .. when we pass a function to useState like this => useState(() => {}) .. you can see we are only passing a function to useState not calling it
@jibreelkeddo7030
@jibreelkeddo7030 3 жыл бұрын
You are one of the absolute *best* dev tutorial channels out there. Please never change!
@donner7708
@donner7708 3 жыл бұрын
that missed "o" though. Rough buddy. But an amazing video that helped me a lot! Thank you!
@sagarkumar4816
@sagarkumar4816 4 жыл бұрын
Kyle your teaching style is SUPERB and the way how you take us through every bits and gotchas and explain in the easiest way is remarkable. Love from India.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hey Sagar! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?
@elinathancohen1723
@elinathancohen1723 3 жыл бұрын
That was a brilliant explanation, the only thing I don't understand is how does prevState gets the current state values :/
@LELEFO
@LELEFO 3 жыл бұрын
Yes! I am wondering the same thing!
@LELEFO
@LELEFO 3 жыл бұрын
Ah! I thought about it some more. When he destructured the useState hook and passed it the value 4, it was assigned as the current state and also passed to the setter function. I think that’s how it works
@ArvindHaran
@ArvindHaran 3 жыл бұрын
I think the second function that useState returns, such as setCount, setState etc. can take in a function and apply that function to the current value of the "state" (eg count) that it is bound with. So when saying prevCount => prevCount + 1 , you're just creating an anonymous function inline that takes an argument (prevCount) and increments it. The argument prevCount (or whatever else you rename it) is always passed in the current value of the state it is bound to in the useState call.. try renaming prevCount to xyz and reexecute
@AhmetKırgan
@AhmetKırgan 3 жыл бұрын
I had a hard time to understand this too. Still don't get it fully but I found that setState() is asynchronous and React may batch multiple setState() calls into a single update for performance(src: Reactjs.org). So, prevCount is just a function parameter received and it is the initial state on the first call. setcount(function(prevCount) { return prevCount - 1; }); Without using a function call inside setCount, you actually update the state directly, but with the function call you use a variable(function parameter) which is the returned value minus one and this value(variable) is used inside setCount() to set the state. I was experimenting with the following code and it give the same result. const [count, setCount] = useState(4); const x = count; function decrementCount() { setCount(function(x) { return x - 1; }); setCount(function(x) { return x - 1; }); }
@marvinfok65
@marvinfok65 2 жыл бұрын
This is so clear! I had trouble understanding the useState concept from other medias!
@jpf338
@jpf338 3 жыл бұрын
5:56 lol Great video by the way, thanks a lot!
@victorejiofor8115
@victorejiofor8115 2 жыл бұрын
You made the useState hook so simple to understand you are really a good teacher. Please keep making more videos, thanks so much, I do appreciate it.
@kautukkundan8001
@kautukkundan8001 4 жыл бұрын
😍 nice! Please do one on the context API
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Thanks! That will be coming for sure.
@lusweek
@lusweek 2 жыл бұрын
I was sitting and coding and I just thought *DAMN can someone just explain useState to me!?* and so now 15 min later, I have a much better understanding. You'r great!!
@BryantCabrera
@BryantCabrera 4 жыл бұрын
You are such a good teacher Kyle. Thank you! You’re also so handsome 😊
@nowthisisfuuun
@nowthisisfuuun 3 жыл бұрын
Man, I don’t think there’s anyone who can explain concepts as simple and eloquent as you. Absolutely love your work!
@mtsurov
@mtsurov Жыл бұрын
@ 7:45 can somebody educate me on the setCount (prevCount => prevCount - 1) ? its unclear to me how prevCount was assigned value of 4.
@lukas.webdev
@lukas.webdev Жыл бұрын
4 is our initial state that we added 3 rows above by saying useState(4)... so our counter starts with an initial value of 4. Every time you increment or decrement the counter, this component gets re-rendered and prevCount just takes the current count value and increments or decrements it... I don't know if this answer was very helpful... but I just posted a video about the same topic, check it out and maybe this will help you to understand it... 😉
@lambar0
@lambar0 Жыл бұрын
Comprehensive explanation with intuition developed around hooks
@issamassafi
@issamassafi 4 жыл бұрын
Can we have a video about custom hooks? thank you for the effort
@madhavkumar-my9zh
@madhavkumar-my9zh Жыл бұрын
what a video previously i have watched 2 hour video which confused me even more but ur video was so good man. thanks alot
@abdur1996
@abdur1996 3 жыл бұрын
Note to everyone: if you were updating the state using `setTimeOut`, remember closures in JS and know that it will get the state that you pass in at the time of you calling set timeout, as oppose to the current state of the useState hook. If you'd like setTimeout to use the newer state, you can wrap your state in a `useRef` container and it's `.current` property will hold the latest state.
@kashmirtechtv2948
@kashmirtechtv2948 3 жыл бұрын
Great. Can you elaborate?
@dardanillyr3989
@dardanillyr3989 2 жыл бұрын
Could i Ask for help regarding something in react?
@ifereokibe9146
@ifereokibe9146 4 жыл бұрын
Your clarity in explaining things is second to none....Great one
@OperationAndrewDocumentaries
@OperationAndrewDocumentaries 4 жыл бұрын
You know its been well explained, if I commented. I commented.
@rumonintokyo
@rumonintokyo 4 жыл бұрын
15mins of pure gold!!!!!! cleared my doubts completely
@silentxcure
@silentxcure 3 жыл бұрын
everytime you say gotchu, i wanna say bless you lol.
@sourabhvaishnav8235
@sourabhvaishnav8235 4 жыл бұрын
I was once stuck at diff btw props and state, you solved it. Now i am stuck at hooks you did it again. Kudos!!
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Sourabh! Are you a student or working currently? Would you be interested to explore job opportunities in web development?
@mekelilyasa9561
@mekelilyasa9561 4 жыл бұрын
decrement what?
@birahomaa
@birahomaa 2 жыл бұрын
Helped me understand immensely versus the Meta course I am learning from! Thank you!
@ashmitsharma9096
@ashmitsharma9096 Жыл бұрын
5:55 there are no accidents
@Cypekeh
@Cypekeh Жыл бұрын
freudian slip
@klirmio21
@klirmio21 Жыл бұрын
God You’re the best bro I’m literally grinding my way up to programming with your videos for the past 7 months
@bernhardsmuts2265
@bernhardsmuts2265 4 жыл бұрын
Amazing! I find it strange that half this stuff isn't in the ReactJS docs, or is just really hard to spot, I tried to reference it and can't even find it... Amazing videos, as always!
@IAmIndraTheGod
@IAmIndraTheGod 2 жыл бұрын
Your explanation is very intuitive, thanks for this video
@arjunkashyap8896
@arjunkashyap8896 4 жыл бұрын
Before watching this video, I thought I understood the react hooks..
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Arjun! Are you a student or working currently? Would you be interested to explore job opportunities in web development?
@arjunkashyap8896
@arjunkashyap8896 3 жыл бұрын
@@shivanigaddagimath6105 No, thank you.
@Applestaffman
@Applestaffman 3 жыл бұрын
The coolest teaching style that i have EVER seen!!
@rushingwp
@rushingwp 4 жыл бұрын
Your tutorials are clean, clear and concise. Big fan !
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Thank you!
@amritsidhu5
@amritsidhu5 4 жыл бұрын
You do ensure to cover the most basic and most important aspects of every hook. Really awesome explanations.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hey! Are you a student or working currently? Would you be interested in exploring job opportunities in web development?
@thecodelife9855
@thecodelife9855 2 жыл бұрын
Not everyone can explain something effectively, but u do it well. Good work. I just started learning React and it is very complex , but ur video helps.
@goon3305
@goon3305 4 жыл бұрын
beat my head against the wall all day for trying to learn this hook. this summed everything up in such a concise way! so grateful, keep up the amazing work.
@lbttewelde7121
@lbttewelde7121 3 жыл бұрын
Man ! you are so gifted you explained it very well.....thanks alot and keep doing the good work.....................God bless you
@reinaogo7161
@reinaogo7161 2 жыл бұрын
just love your teaching style, easy to understand , relaxed, focus on what we need.
@nightzero6040
@nightzero6040 3 жыл бұрын
I've seen many videos trying to explain state() hook and for me and that is the only video I could really understand properly! Thank you very much!!
@sogenohata1948
@sogenohata1948 8 ай бұрын
Wow. I was a little confused when I was reading a textbook on useState. But now it's so clear. Thank you so much!
@alishachhetri2351
@alishachhetri2351 3 жыл бұрын
I'm new to web development, just shifted from working in design to development. This video was really helpful, you really simplified it. Excellent teaching style, subscribed.
@marineoceania
@marineoceania 2 жыл бұрын
As a veteran JS user for YEARS, I needed a crash course in React; your videos have been INCREDIBLY helpful! Thanks for doing this :D
@maqameda
@maqameda 5 ай бұрын
Amazing! Simple, yet comprehensive explanation!
@serhiidmitriiev4362
@serhiidmitriiev4362 2 жыл бұрын
Man, I'm really impressed by the way you explain the topic! I came to your tutorial from udemy where the guy explained the very same topic but in a cumbersome way! Thanks a lot!
@seesharper8913
@seesharper8913 4 жыл бұрын
Dude, thanks a ton. Literally no online documentation is this helpful. They all talk in an esoteric way that you can only really get if you are a least fairly introduced to React. Honestly, hardly any intro content is helpful to people like me who really haven't been involved in front-end development -- mostly back-end. With the lack of type safety in JS, a lot of articles will show you these anonymous types, variables, etc., and expect you to know exactly what that looks like. It's hard to follow sometimes when you have to constantly trace steps back on everything so you have the right mental image for context. Doesn't help a ton of articles and examples start flat out in the middle of other things as well. Looking at redux I'll see these basic pseudo code examples, but it never shows the context in which they are using it... like is example code inside a component? What imports do you have? What are these variables you use and don't show the definitions of? My oh my it's frustrating! Anyways, you video was perfect. I'll be coming here first instead of Googling or looking at docs.
@clutchmadness
@clutchmadness 2 жыл бұрын
Wow! This is explanation is both thorough and simple.
@DennisJadeToribio
@DennisJadeToribio 4 жыл бұрын
I love the style of delivery and the direct way to hitting the topic and time....thanks
@krissymorgan6602
@krissymorgan6602 3 жыл бұрын
Very very clear. I have searched so much content on this but I still didn't have a very clear understanding on how to use it. You really helped me a lot thanks.
@themelodymusic1658
@themelodymusic1658 Жыл бұрын
Hey man....u r my fav Reactjs tutor! Now I got to know y we write "...prevState" in setState method. Thanks!
@vivianeb90
@vivianeb90 3 жыл бұрын
You are such an amazing teacher, so clear and so thorough! Wished my teacher was this clear, but I have to ask him so many questions to actually understand what he is explaining. Instead of explaining, he just shows what is done, explaining very little. For example he never explained that const [count, setCount] inside const [count, setCount] = ustState(0) is a destructured array. He also never demonstrated why we use prevState. So when I saw that for the first time I was very confused because I didn't see why that was needed.
@crack9058
@crack9058 2 жыл бұрын
Best useState() video.
@waseemusman421
@waseemusman421 3 жыл бұрын
Great video. Alot of youtubers just copy content from each other and tell repeating contents, you did amazing job and represent creative content. Well Done. Keep it up
@maxwarren4277
@maxwarren4277 3 жыл бұрын
Was sooooo confused until I saw this video. 1000/10 thank you!
@pedrambabazadeh1676
@pedrambabazadeh1676 2 жыл бұрын
One of the greatest tutorials I have ever seen! Thank you.
@mugen430
@mugen430 4 жыл бұрын
The way you teach is amazing, I am currently in a coding bootcamp and I can say the way you teach is a lot better than how my instructor explains code to us. is much more human comprehensive without the sacrifice of code terminology.
@raphaelvilleneuve6088
@raphaelvilleneuve6088 Жыл бұрын
TY your English is so easy to understand when I listen to you I feel bilingual :)
@Holden_Prio
@Holden_Prio 3 жыл бұрын
Super helpful for me, and I am a senior dev team lead in OO programming (C#, WPF, MvvM) attempting to pivot back into web dev after about 2.5 years away from React. Trying to brush back up on it. Thank you so much for your clear explanation and no frills approach. Great stuff bud
@wesley_james_strength
@wesley_james_strength 2 жыл бұрын
Fantastic tutorial you the man Kyle
@HadesMrDark
@HadesMrDark 3 жыл бұрын
I was trying for a long time to understand how these hooks work, thank you soo much, great video, great explanation.
@narasimhakamath3808
@narasimhakamath3808 2 жыл бұрын
Really love how you take some really simple example to explain these concepts instead of overthinking or over complicating things. Awesome stuff!
@jasonl5251
@jasonl5251 3 жыл бұрын
This video is brilliant! Detailed useState explanation in a simplified manner with examples.
@jofawole
@jofawole Жыл бұрын
Thanks so much for this very clear and understandable video, I've been playing with React lately and your video made me understand useState more perfectly.
@mostinho7
@mostinho7 Жыл бұрын
Thank you Todo: Take note of weird usestate behaviour when using previous value of state to set new value. Just use the callback that takes the previous value always. Breaking down objects into different usestate variables instead of having them in one object
@hellosugaree
@hellosugaree 3 жыл бұрын
Brilliant as always. These narrow topic mini videos have become an essential tool for filling in gaps where I need to learn the why behind the how. 💜
@Infiniband11
@Infiniband11 Жыл бұрын
Kyle. Thank you so much for your content, you have taught me so much.
@lukas.webdev
@lukas.webdev Жыл бұрын
I also just posted a video about the same topic (in 2023) - maybe this could be interesting for you as well. 😉
@PraveenKumar-wt8dm
@PraveenKumar-wt8dm 4 жыл бұрын
The clearest explanation I found, was stuck on this concept, thank you for clearing it for me, God bless
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Praveen! Are you a fresher or a working professional? Are you open to job opportunities in web development currently?
@PraveenKumar-wt8dm
@PraveenKumar-wt8dm 3 жыл бұрын
I have 6 months months of work experience, currently looking for a job In web development. Can you help me?
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
@@PraveenKumar-wt8dm Thanks for your response! Yes, definitely! Let's connect on LinkedIn or gmail for further details. Search for Shivani Gaddagimath on LinkedIn and request to connect please. The first profile that pops up is mine.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
@@PraveenKumar-wt8dm Hi Praveen! Please get in touch through LinkedIn if interested in the opportunity.
@PraveenKumar-wt8dm
@PraveenKumar-wt8dm 3 жыл бұрын
@@shivanigaddagimath6105 I have sent you a connection request on LinkedIn
@carlosefin
@carlosefin 4 жыл бұрын
Excellent video! I love the way you explain all the concepts 😀👍
@meiyu7639
@meiyu7639 4 жыл бұрын
omg THANK YOU for the prevCount example where you showed what happens if you don't use it. I was confused for the longest time what the point of prevState is. this is a godsend
Learn useEffect In 13 Minutes
13:38
Web Dev Simplified
Рет қаралды 854 М.
Top 6 React Hook Mistakes Beginners Make
21:18
Web Dev Simplified
Рет қаралды 584 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
React JS - React Tutorial for Beginners
2:25:27
Programming with Mosh
Рет қаралды 6 МЛН
Beginner React.js Coding Interview (ft. Clément Mihailescu)
36:31
Ben Awad
Рет қаралды 2,2 МЛН
Learn useRef in 11 Minutes
10:20
Web Dev Simplified
Рет қаралды 654 М.
React Tutorial for Beginners
1:20:04
Programming with Mosh
Рет қаралды 3,6 МЛН
ALL React Hooks Explained in 12 Minutes
12:21
Code Bootcamp
Рет қаралды 171 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 493 М.
React Hooks Course - All React Hooks Explained
1:26:21
PedroTech
Рет қаралды 1,1 МЛН
Learn useReducer In 20 Minutes
20:12
Web Dev Simplified
Рет қаралды 520 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 858 М.