Тэги:
#react #props_from_child_to_parent #reactjs #react_tutorial #developer_youtube #javascript_tutorial #reactjs.org #props #free_javascript_online #free_react_lessons_online #web_development #free_react_developer_lesson #components #hooks #react_hooks #react_hooks_props_from_child_to_parent #react_teacher_online #child_component #pass_data #parent_component #child_to_parentКомментарии:
If you use this. method and are having trouble testing, you need to render out your component and then pass that function into the render method. If anyone is struggling I can make a video explaining how to test these component correctly.
ОтветитьWow
ОтветитьWow, that is amazing
ОтветитьIm confused as to how you would render this in the App.js
ОтветитьSubbed
ОтветитьExplain a lot, clear and short wonderful
ОтветитьDidn't understand shit.
ОтветитьThis works but gives this warning in the console :
Warning: Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.
any chance of this method being not correct ?
Just when I was about to give up, I stumbled on this video. Thank you so much. You explained EXACTLY what I sas looking for.
Ответитьperfect
Ответитьbest video. Really helpful Tom 👍
Ответитьthank you, dude
ОтветитьThanks to you I can sleep more soundly this evening. (I've been at a roadblock on my bootcamp capstone app for two days!!)
Ответитьreally nice explanation
ОтветитьGlad to see others got it. This was not clear to me. :(
For beginners like me you should 1: Give a better overlook of all your code at the beginning of the demo; 2: Your explanation deserved a slower pace or maybe a better use case.
All the best!
Exactly what I needed for my React component npm library!
ОтветитьSo helpful!
ОтветитьThanks. This is exactly what I was looking for. This will make my code much simpler
Ответитьvoice output is too low
ОтветитьMore than 2 hours searching, this is the literally I was looking for. Thanks a lot
Ответить