React JS Props and Prop Drilling | Learn ReactJS

React JS Props and Prop Drilling | Learn ReactJS

Dave Gray

2 года назад

30,493 Просмотров

Ссылки и html тэги не поддерживаются


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

@forshetrial
@forshetrial - 29.10.2023 13:04

Thank God! I came across with this treasure ❤

Ответить
@josehumbertobezerraneto9149
@josehumbertobezerraneto9149 - 09.10.2023 04:57

I'm doing all tutorials you have Dave, very good lesons, i started with Redux when i find your video in the redux website. even already have studed React there´s always something to learn, thanks for sharing this axcelent material.

Ответить
@dardanianrap-drill
@dardanianrap-drill - 27.09.2023 20:38

Hello Sir, when i move component to parent state in main page always tell me that the list is empty

Ответить
@tharun_r
@tharun_r - 10.08.2023 05:18

Dave, I don't know how to thank you. I have been struggling with props. You just helped me get it in just a few minutes. Thank you!

Ответить
@toonice555
@toonice555 - 08.08.2023 04:38

Great video! I'd love to know why you chose to use an icon with roles and aria labels rather than wrapping the icon in a <button> element? Wouldn't that solve all the accessibility issues and also keep the HTML semantic? Thanks again

Ответить
@toonice555
@toonice555 - 08.08.2023 03:39

Sweet. Never knew about default props!

Ответить
@faisalejaz3893
@faisalejaz3893 - 07.08.2023 21:11

Dave your teaching method is awsome.

Ответить
@JesseTrammell
@JesseTrammell - 14.06.2023 02:54

When I first started learning react this type of injection really bothered me about react. I definitely prefer using state management tool like mobx (not everyones favorite, I know, but it works well for the projects I use.)

Ответить
@surendharsmsn327
@surendharsmsn327 - 01.05.2023 08:27

Is it like passing arguments to the function?

Ответить
@harag9
@harag9 - 26.04.2023 16:15

Thanks for breaking this down. 1/2 way through I was hoping you would do that. On the <LineItem component you added in key={item.id} attribute which I understand why, does this mean we don't need it on the <li> now within the LineItem component itself. I removed it didn't appear to error. Great tutorial, thanks.

Ответить
@shakirraza1423
@shakirraza1423 - 18.03.2023 13:04

Bro very well done , You did a excellent job. Really you can't imagine that i could never seen any tutorial same as yours in the past one and half year.

Ответить
@businessidea2131
@businessidea2131 - 13.03.2023 18:22

This is one of most important lessons in React, that flow was no sense till now... Thank you a lot my friend, you r epic teacher!!

Ответить
@MrMike44v
@MrMike44v - 20.02.2023 04:52

just want to mention , there is no need to write _rafce just rafce is fine

Ответить
@salmantech6992
@salmantech6992 - 18.01.2023 13:53

sir this playlist is great but make complete Project in current playlist so that students who learnt from the beginners playlist will gain more knowlege after developing entire application from scratch

Ответить
@hanszoll4943
@hanszoll4943 - 13.12.2022 17:09

Thank you

Ответить
@jamshidtashkent1976
@jamshidtashkent1976 - 04.12.2022 20:44

Thank you, David Gray! You are a great teacher.

Ответить
@jalaleddinebellouchi6317
@jalaleddinebellouchi6317 - 23.11.2022 11:47

I had to do :
style={(item.checked) ? {textDecoration : 'line-through'}:{textDecoration : 'inherit'}}

I see you not using the ':' in your code, for me it results in an error (statement expected ":")

Ответить
@neatunet
@neatunet - 05.10.2022 12:49

Dave, you're a priceless teacher. In my opinion, it's easy to understand the topic you're explaining because you talk about the tiny details as well, while many others think that beginners should understand the obvious things, which is often not the case. Thank you!

Ответить
@roryquarrier7337
@roryquarrier7337 - 18.09.2022 00:48

thanks, helped me a lot

Ответить
@vivekanand5900
@vivekanand5900 - 14.09.2022 07:56

Your explanation is great I really like the way you explain in great details.

Ответить
@hydrohelp9847
@hydrohelp9847 - 11.09.2022 12:20

Top

Ответить
@Tandav_432
@Tandav_432 - 30.08.2022 07:08

Hello Dave what is tabindex 0 means? Also you are one of the True Guru when it comes to Teaching. Appriciate your efforts.

Ответить
@viniciusm.m.7822
@viniciusm.m.7822 - 17.08.2022 19:47

Thanks a lot, Dave!
God bless!
Forte abraço do Brasil!

Ответить
@rahmatyousofi4107
@rahmatyousofi4107 - 09.08.2022 10:57

Thank You

Ответить
@nica1
@nica1 - 04.08.2022 19:50

I'm not sure if I understand the hierarchy properly. Is the reusable component, LineItem a child of ItemList? Also, is ItemList is a child of the content component? Thank you for another great tutorial, Dave!

Ответить
@ebesquin
@ebesquin - 28.07.2022 18:02

Dear Dave
It is a wonderful course.
A clear, simple and complete presentation of React
I'm definitely getting a lot out of it.
Thank you very very much
🤓🤓🤓

Ответить
@erickcohen1876
@erickcohen1876 - 10.07.2022 01:55

Incredibly helpful! Thank you, Dave! I loved the "aria-label" tip for accessibility. Do you have a video on accessibility features for webapps / webpages?

Ответить
@modres2444
@modres2444 - 08.06.2022 17:10

i am really like this tuturial , it,s help me

Ответить
@masruralam6199
@masruralam6199 - 24.05.2022 04:51

really well explanation Sir, Thanks a lot for your nice effort here.

Ответить
@Tandav_432
@Tandav_432 - 27.04.2022 16:12

what is the purpose of aria-label={`Delete ${itemlist.item}`} code was already working the same.

Ответить
@salahhasan5547
@salahhasan5547 - 18.03.2022 02:35

there some think you must to remember it when you import or export the name of function must to start with uppercase letter

Ответить
@fernandosalas4885
@fernandosalas4885 - 17.03.2022 02:11

The way you teach is outstanding. Thank you so much!

Ответить
@CTILET
@CTILET - 01.03.2022 22:22

I am now pass drilling. Thanks

Ответить
@kaungchitko7156
@kaungchitko7156 - 17.02.2022 18:18

Your accent is really nice and very easy to understand,Thank you sir

Ответить
@anandprakash7337
@anandprakash7337 - 10.02.2022 21:01

Hello Dave, I have a question...I chose not to move the two handleCheck and handleDelete functions to App.js and got some cryptic error....am I correct to conclude that javascript functions can't access props' data only jsx can (items and setItems are required for javascript functions)

Ответить
@Cl_Fellowship_Vids
@Cl_Fellowship_Vids - 04.02.2022 06:54

I had not learned of defaultProps before now. Thanks Dave!

Ответить
@anonlegion9096
@anonlegion9096 - 31.01.2022 16:22

Line item? You mean list item?

Ответить
@grace7671
@grace7671 - 29.01.2022 14:09

Best explanation, that really helped, thank you

Ответить
@mi5956
@mi5956 - 27.01.2022 21:09

You are a king. clean code, made everything simple. thank you

Ответить
@vencer5709
@vencer5709 - 12.01.2022 12:02

Thank you sir for your detailed explanation..

Ответить
@sheilakerber3513
@sheilakerber3513 - 07.01.2022 00:32

Your explanations are amazing. Really grateful! <3

Ответить
@ghostpieces2362
@ghostpieces2362 - 21.12.2021 00:04

Amazing instruction. Thank you

Ответить
@RandomGuy-jv4vd
@RandomGuy-jv4vd - 31.07.2021 13:22

very beginner friendly, thank you sir :D

Ответить
@hardwired89
@hardwired89 - 23.07.2021 11:26

detail lesson ❤️❤️

Ответить
@Retrohertz
@Retrohertz - 20.07.2021 10:53

Now I understand why they say it's useful to learn vanilla JS before learning libraries. If I'd not spent years learning JS, all this would make no sense at all. React is really JavaScript under the hood. The syntax is simply designed to make building apps with the same or similar components easier.

Case in point -> the props drilling wasn't making sense to me. The syntax in App.js looked like HTML (e.g. <Content items={items handleCheckMarks={handleCheckMarks} handleItemDelete={handleItemDelete}/> ).

It was only when I used 'typeof props' in the console, that I realised App.js was actually sending an object to 'Content.js'. The Object destructuring using the { } then made sense.

Thanks Dave for helping me better understand all this.

Ответить
@ambroseahawo
@ambroseahawo - 05.07.2021 22:11

Wow nice content

Ответить
@suovincent917
@suovincent917 - 05.07.2021 18:03

always the best and thank you for your excellent work

Ответить
@AliHaider-vr9pr
@AliHaider-vr9pr - 05.07.2021 11:31

Thank you 😊 Sir

Ответить