React State Vs Props

  Рет қаралды 224,460

Web Dev Simplified

Web Dev Simplified

Күн бұрын

Пікірлер: 193
@pkpkpkpkpk669
@pkpkpkpkpk669 9 ай бұрын
timestamp for when Kyle blinks: 1:13 2:01 (3 blinks) 2:06 (2 blinks) 4:37 (kind of only really a half blink but I'm counting it) 4:55 PS thank you Kyle for making all this content, it's been extremely helpful in my coding journey ;)
@firstnamelastname2971
@firstnamelastname2971 6 ай бұрын
thats the secret to being a good programmer
@abinvarkey2331
@abinvarkey2331 4 ай бұрын
😂😂
@Sixth-Sense_0
@Sixth-Sense_0 Күн бұрын
what is you and he blinked at the same time [edge case]
@deanshaked
@deanshaked 4 жыл бұрын
Dude you're killing it !! I've started learning React very recently and every time I get stuck I look it up on your channel and your explanations are so damn accurate , Thank you so much :)
@AmandaVieiraMamaesouCult
@AmandaVieiraMamaesouCult 2 жыл бұрын
Same
@igorfabris6067
@igorfabris6067 2 жыл бұрын
Same here !
@khashayarghavami7573
@khashayarghavami7573 2 жыл бұрын
Yeah he is so good
@monicatoro2286
@monicatoro2286 2 жыл бұрын
I'm a Spanish native, not an English native and I still was able to understand what you explained way better than the explanations in my own language. That's how well you explain things. Thank you very much!
@ujjawalbindal231
@ujjawalbindal231 Жыл бұрын
Hey there
@deidreboddie7723
@deidreboddie7723 4 жыл бұрын
I'm learning React now through an online bootcamp and was struggling with when to use either State or Prop, but this video really helped me to understand the difference. Thank you!!!
@SirXtC
@SirXtC 4 жыл бұрын
bro i just noticed that you literally never blink. but good video. thank you !
@yayz_
@yayz_ 4 жыл бұрын
WDS robot confirmed. In all seriousness, though, great video. I'm learning alot from you!
@Doqtorify
@Doqtorify 4 жыл бұрын
I just see it and come here to leave a comment about it !!🤯🤯 he doesn't show much emotion too🤔 do you think he reads script?
@thisissyedbasim
@thisissyedbasim 4 жыл бұрын
Or maybe we blinked the exact same time he blinks
@bluestripes6037
@bluestripes6037 4 жыл бұрын
I noticed that too and I thought I would find it disturbing.... but I love it. It's like he wants me to understand him as badly as I do.
@equu497
@equu497 2 жыл бұрын
I'm a backend guy but occasionally I have to do a little front end work. You have been an incredible asset to me in my journey and I wanted to thank you.
@devoptimist
@devoptimist 2 жыл бұрын
Nice explanation. I just started the react documentation and am working through the tic-tac-toe demo project. The difference between these didn't click until I heard your examples. Thanks!
@Ctrl_Alt_Elite
@Ctrl_Alt_Elite 5 жыл бұрын
Thanks so much mate, I couldnt understand the concept of state until I watched this. You're a star🌟 🙌🏽
@antwarior
@antwarior 6 ай бұрын
you have just opened my mind to exactly what i was missing when coding react, did not know if the component is handling a thing then its state and if the parent will handle it then pass it in using the props and then use state , all makes so much sense now 🎉
@pastorfred2543
@pastorfred2543 5 жыл бұрын
Who else liked the video before watching because he knows Sir Kyle will surely deliver. I can't wait for the #React Course commencing on 10th Sept. 2019.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you so much for the support. I am so nervous and excited for the course to release.
@MaxProgramming
@MaxProgramming 4 жыл бұрын
I also liked the video.
@FightLabChronicles
@FightLabChronicles 3 жыл бұрын
@@MaxProgramming lol
@tiffanyrogers5979
@tiffanyrogers5979 2 жыл бұрын
Who else liked the video before watching because SHE knows Sir Kyle will surely deliver. 👩🏼‍💻
@gloriareyes6556
@gloriareyes6556 4 жыл бұрын
Yes, he's great. was hoping for an example, but thanks for the break down
@Blindmin
@Blindmin 2 жыл бұрын
his unblinking gaze is piercing my soul
@ammarabhatti8261
@ammarabhatti8261 Жыл бұрын
Aaahh thank you so much for this easy explaination I was really confused because everyone was saying it's confusing but you explained very well have a good day
@vmgaming4792
@vmgaming4792 4 жыл бұрын
This video is so underrated...Beying the most important functions in React JS. Thanks Man!
@mssadewa
@mssadewa 5 жыл бұрын
Someone please give me exact time when he blinking his eyes
@shangshi6286
@shangshi6286 4 жыл бұрын
lol.
@calebagrelius253
@calebagrelius253 4 жыл бұрын
1:09
@deansummer1356
@deansummer1356 4 жыл бұрын
I see he's not blinking he's squinting to water his eyes, smart him
@osamagamal495
@osamagamal495 4 жыл бұрын
2:07 even when he blinks, he doesn't close his eyes!
@jsn4591
@jsn4591 4 жыл бұрын
This commend shouldn't be allowed to be on top... I couldn't focus on anything but his eyes after reading this xD
@MelaninInTech
@MelaninInTech 2 жыл бұрын
started using react at my job and I was struggling with this, thank you soooo much!! Your videos are always excellent!
@allenhansen881
@allenhansen881 Жыл бұрын
It helped me understand better when you used the JavaScript passing in arguments into functions example. I have a better understanding now thank you!
@Optimized_Finance.
@Optimized_Finance. 2 жыл бұрын
As usual, top-quality content, I was hoping to see some code to that effect. Thanks for the work you do.
@iamkrishn
@iamkrishn 3 жыл бұрын
Another great video clearing the basic doubts, which create a lot of trouble later on if not understood well. Thanks, Sir Kyle.
@aashishkushwaha3740
@aashishkushwaha3740 5 жыл бұрын
Every time I watch your videos, every time you amaze me with the quality of content ✌✌
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you so much!
@nathanunderbsd5972
@nathanunderbsd5972 5 жыл бұрын
@@WebDevSimplified real inspiring, like me a self taught developer.
@toppu10animes
@toppu10animes 3 жыл бұрын
I FINALLY UNDERSTOOD THIS, YOU'RE AMAZING
@sixft-guy
@sixft-guy 4 жыл бұрын
Really helpful video, explain with code examples just a suggestion. Thanks!
@willysnowman
@willysnowman 5 жыл бұрын
Thanks! Planning a length/unit input textbox. Form will have several u/l input textboxes + two radio buttons "mm" or "inch". Will also have a checkbox "dual units" which displays after initial unit in brackets. Example: "inch" and "dual units" selected textbox displays: 1.00in [25.4mm]. User can enter various units and it will convert to selected unit. Base unit will be meter. Still trying to figure out how this all goes together. Looking forward to class!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
That sounds like a really interesting UI that will be perfect for React. I hope everything works out for you.
@srdjan02
@srdjan02 Жыл бұрын
great tut... Just one question. how come you are not blinking... AT ALL? :)
@casecamel6719
@casecamel6719 Жыл бұрын
showing examples that one component utilizes a prop as its state would be great
@gauravmishra7158
@gauravmishra7158 4 жыл бұрын
You should demonstrate the stuff you talk about
@alialrahem9817
@alialrahem9817 2 жыл бұрын
As you mentioned prop as argument inside the function as it only read not change arguments but state is an action to change props
@lardosian
@lardosian 5 жыл бұрын
Nice simple explanation, thanks.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
You're welcome!
@getvivekjoshi
@getvivekjoshi 5 жыл бұрын
Thanks!!! waiting for react course!!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you for the support! I cannot wait to launch the course.
@a.durgadevi8052
@a.durgadevi8052 3 жыл бұрын
Awesome explanation 👍👍
@charleskp947
@charleskp947 3 жыл бұрын
this dude literally doesn't blink
@clivea4391
@clivea4391 3 жыл бұрын
your staring into my soul haha, good video btw
@AbelsColdSweat
@AbelsColdSweat 5 жыл бұрын
Simple as promised thanks man!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
You're welcome!
@missinglink2416
@missinglink2416 3 жыл бұрын
it did not props at first but later on it surely did!!! thanks
@nspdevgru5093
@nspdevgru5093 3 жыл бұрын
I am such a visual learner this would have been aces with an example. Good stuff though just grabbed the transcript and read it 10x's.
@alexarch321
@alexarch321 5 жыл бұрын
Wow! Great explanation! Thanks!
@Pareshbpatel
@Pareshbpatel 2 жыл бұрын
Great Tutorial on when to use State vs Props. Thanks, Kyle {2022-02-26}
@MortenPeterHaghJensen
@MortenPeterHaghJensen 5 жыл бұрын
Awesome video as always! 👍
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you!
@aroddy2203
@aroddy2203 4 жыл бұрын
I had a staring contest and I lost.
@govind22703
@govind22703 4 жыл бұрын
😂😂
@niranjanwagh5767
@niranjanwagh5767 Жыл бұрын
This channel is amazing. But, I was hoping for a demo with code. Please remake a video on this with a demo if possible. There aren't many videos on this.
@almadev183
@almadev183 3 жыл бұрын
Very clear bro.
@youdjparents
@youdjparents 4 жыл бұрын
this is really helpful, thank you
@Raffalaffs
@Raffalaffs 2 жыл бұрын
Great explanation, thank you!
@duneode
@duneode 3 жыл бұрын
Thank you! One thing I have never understood, why are props called props instead of function argument when they seem identical, what differs?
@FightLabChronicles
@FightLabChronicles 3 жыл бұрын
you win. here is my sub.
@cdemetriad
@cdemetriad 4 жыл бұрын
Your videos are just amazing, thanks a lot.
@jaywalker.
@jaywalker. 5 жыл бұрын
This helped, man. Thanks!
@lucasmelo010
@lucasmelo010 3 жыл бұрын
Awesome explanation, thanks!
@INN-israel-news-now
@INN-israel-news-now 11 ай бұрын
it would be usefull if you explain it with an example into the code
@JeevanBManoj
@JeevanBManoj 4 жыл бұрын
Quick and simple
@jamjam3448
@jamjam3448 4 жыл бұрын
Great video by the way. Thanks
@andreiabasile9853
@andreiabasile9853 Жыл бұрын
Thank you so much for the work you do!
@weho_brian
@weho_brian 3 жыл бұрын
nice channel keep up the great work
@shupesmerga4694
@shupesmerga4694 5 жыл бұрын
better if you add codes at graphs or any visual aid while explaining. It's extra work but it ca ngo a long way
@Cubannerd
@Cubannerd 2 жыл бұрын
I have a question. Can I store all the props in an external js file then import that file into the js that is going to render the component?
@tigana
@tigana 2 жыл бұрын
If we're handling form input in a parent component, would you pass state as props?
@onofreliscano
@onofreliscano 4 жыл бұрын
great explanation!
@rajkumar-nq2te
@rajkumar-nq2te 5 жыл бұрын
Thanks Kyle ♥️
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
You're welcome!
@LeonC0704
@LeonC0704 2 жыл бұрын
but you lose the props when you refresh the page. How do you make it persist?
@ieatcrayons3322
@ieatcrayons3322 Жыл бұрын
ty so much!
@iliasettaoussi4680
@iliasettaoussi4680 3 жыл бұрын
can u please nesxt time code this concepts along in the video so it can be more clear and it would more simple to give examples
@noelcovarrubias7490
@noelcovarrubias7490 4 жыл бұрын
Thank you it really helped :)
@mznunaya
@mznunaya 5 жыл бұрын
Oh Kyle. Kyle.. Kyle... Kyle.... You're just awesome :)
@dios8256
@dios8256 Жыл бұрын
Sir. You're da best
@philipdevries3413
@philipdevries3413 4 жыл бұрын
I really like your voice and explanation, but, I'm missing some visuals. Just a still image of some code, showing what you're talking about would help a lot. Thanks!
@photontube
@photontube 4 жыл бұрын
would be better if you used example code ,still awesome!
@javieraguirre9135
@javieraguirre9135 4 жыл бұрын
great video thanks
@benchracer2171
@benchracer2171 Жыл бұрын
How do you pass a State in as a prop though
@adityadubey5204
@adityadubey5204 3 жыл бұрын
Thankyou so much :)
@hectorg362
@hectorg362 4 жыл бұрын
Holly shet, THANK YOU! I get it now.
@sourabhvaishnav8235
@sourabhvaishnav8235 4 жыл бұрын
Hey, nice explanation. How can I map my components with the array. Like every time a user signs-up, the get user request via axios brings an array of users as serverResponse. Now I want that my Card component should pick every user and replicate the card with their respective details on a different page. Let's say Home page, window.location.pathname === '/home. Moreover if I can skip the loading and make SPA using withRouter. I think I haven't explained it well like what I want, but I hope you will get it.
@aammssaamm
@aammssaamm 4 жыл бұрын
Why would you need to change the props of the component outside of it?
@marcelasssouza
@marcelasssouza 2 жыл бұрын
He does not blink holy
@oscar6338
@oscar6338 2 жыл бұрын
Thank you so much. Muito obrigado. Muchas gracias.
@nrutcon3356
@nrutcon3356 4 жыл бұрын
Thank you!
@certainlyjoel
@certainlyjoel 3 жыл бұрын
THANK YOUUU
@jeroenhaisma6854
@jeroenhaisma6854 5 жыл бұрын
Wish the course would come out earlier! Btw, i have subscribed, but is the supposed to be a feedback e-mail "subscription succesfull"? Havn't seen
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I still have a few things I need to finish up before the course is released. You should have received an email when signing up. You may want to check your spam folder for the email, and it you do not see it there you can email me directly using the email listed in the about page of my channel and I will ensure your email made it on the list.
@eugene9089
@eugene9089 4 жыл бұрын
This dude is like a robot.
@jashanpreet880
@jashanpreet880 3 жыл бұрын
iam in love with the videos of you
@ABShinobi
@ABShinobi 4 жыл бұрын
Thanks bud
@mattk3650
@mattk3650 4 жыл бұрын
Thx bro
@kangsbeat
@kangsbeat 4 жыл бұрын
Thanks so much!!!!
@gerryrazon3341
@gerryrazon3341 4 жыл бұрын
thanks man!
@tasteyourlappy
@tasteyourlappy Жыл бұрын
hey guys can we pass prop and hide element..
@최정원-w4n
@최정원-w4n 3 жыл бұрын
Wow you never blink your eyes
@bengalichic9333
@bengalichic9333 4 жыл бұрын
i dont understand...could you show w/ visual
@barataapsii2466
@barataapsii2466 11 ай бұрын
some illustrations and analogies would go well with your explanations
@MiserableDuck95
@MiserableDuck95 5 жыл бұрын
Great explanation dude.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks!
@nithamanikandan3324
@nithamanikandan3324 4 жыл бұрын
is there any discount? right now its 60$
@msr60215
@msr60215 3 жыл бұрын
props vs params???
@rl6382
@rl6382 Жыл бұрын
when will your React Course be online?
@altc5137
@altc5137 2 жыл бұрын
Where is the code???
@Foxy-mk2yn
@Foxy-mk2yn Жыл бұрын
It is better to have a visual during explanation, hard to see so beautiful face
@a-roh5039
@a-roh5039 5 жыл бұрын
More react please!!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I plan to make a lot more React videos
@a-roh5039
@a-roh5039 5 жыл бұрын
@@WebDevSimplified Thank you! I've loved your content, you're a great teacher.
@dw61w
@dw61w 10 ай бұрын
I'm so confused by the upvotes. Looking at a face for 5 minutes instead of a recorded screen isn't gonna help
@KabooM1067
@KabooM1067 5 жыл бұрын
Aaaaaaaaaah I'm really starting to regret my decision to learn web development. I can't get react.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
What about React is confusing you. Maybe there is something I can help explain. I also have an entire React course that covers React from the beginning which may be interesting to you. courses.webdevsimplified.com/learn-react-today
@nathanunderbsd5972
@nathanunderbsd5972 5 жыл бұрын
first and foremost, why regret? if learning web development in general is a kind of your passion over salary perspective, then you do not think about time to spend in learning it, but regretting without a goal or success on learning it, then better to start finding what is your REAL passion. I can say it is broad to learn by doing and learning all those stuff you need, a good foundation is to focus on (basic fundamentals --> required). I was also like you before, but realising the needs of combining tech/dev/ops perspective which is demanding for the next 10 years of time, i embraced it with pride of learning and nurturing bit by bit, like in book, cover by cover.
@KabooM1067
@KabooM1067 5 жыл бұрын
@@nathanunderbsd5972 My real passion doesn't put food on the table... Anyway that was just a knee jerk reaction out of frustration, I didnt mean it. I like web dev, despite all the frustration that comes with it, but I also can't wait for the day to not have to do it anymore lol.
@KabooM1067
@KabooM1067 4 жыл бұрын
@ZenCoder that's the plan... Until I find that thing I still need to live so...
@Hin69Hin
@Hin69Hin Жыл бұрын
5mins of vid with no pic or code....
@mo-zr2tk
@mo-zr2tk Жыл бұрын
he doesn't blink
@naniWithCamelCase123
@naniWithCamelCase123 Жыл бұрын
You just talk? Show some code would you
Memoization And Dynamic Programming Explained
7:40
Web Dev Simplified
Рет қаралды 98 М.
PROPS in React explained 📧
12:09
Bro Code
Рет қаралды 117 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Learn how to use Props in React in 19 minutes (for beginners)
19:12
Sonny Sangha
Рет қаралды 151 М.
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 218 М.
React Native just dropped a MASSIVE update
15:06
Mehul - Codedamn
Рет қаралды 74 М.
What is "State" in Programming?
6:14
Academind
Рет қаралды 91 М.
Combining Zustand with React Query
20:24
Cosden Solutions
Рет қаралды 36 М.
React Props are Easy
18:05
Sam Meech-Ward
Рет қаралды 11 М.
Learn useState In 15 Minutes - React Hooks Explained
15:45
Web Dev Simplified
Рет қаралды 1,2 МЛН
What Is The Difference Between Reactjs State and Props?
3:11
Tiff In Tech
Рет қаралды 17 М.
What are PROPS in React? | With a Function Prop Example
6:15
Deeecode The Web
Рет қаралды 11 М.
NEW React 19 Changes Are Amazing!
8:42
Web Dev Simplified
Рет қаралды 203 М.