ReactJS Tutorial - 36 - Render Props (Part 1)
ฝัง
- เผยแพร่เมื่อ 26 ก.ย. 2024
- 📘 Courses - learn.codevolu...
💖 Support UPI - support.codevo...
💖 Support PayPal - www.paypal.me/...
💾 Github - github.com/gop...
📱 Follow Codevolution
+ Twitter - / codevolutionweb
+ Facebook - / codevolutionweb
📫 Business - codevolution.business@gmail.com
Render Props in React
Just hats off to a tutor like you. People seldom get across tutors like you. You explain complex things in a very clear and practical way. You are truly an asset for all of us. Thanks a ton for your efforts Sir.
I always wait for your videos @codevolution, eventhough there won't be many views. But once anyone listened your videos surely they come back, they listen again and again and they wait for your videos. I am one of them..
Please also make a tutorial of one of React testing libraries like enzymes or react-testing-library. Waiting for more tutorials:)
If u only just watched the three videos on HOC,
you wanna skip to 3:50 , since the setup is identical.
its too late :D
Practice makes perfect ! 🤣 🤣 🤣
Do this tutorial have Routing Concepts discussed? Please let me know the number, I am unable to find it
hey buddy, useful concept with live example.
why does it feel like Dejavu
Because he repeated the same video 😑
I thought it was just me 🤣
Practice makes perfect...
:D
Thank You bro for this great work I really appretiate your work is really excelent
I truly appreciate your teaching style.
By the way from a viewer perspective i think there is no need to repeat the safe stuff,
You could have just said, "there is a another way of sharing the same functionality beetween component" and continue with the part two.
note to people watching this : Skip this particular video completely and go to part 2 if you have already watched the higher order components videos.
Excellent explanation...
Amazing Video
Thankyou
Why don't we bind onClick event in the constructor ?
Because the incrementCount() method is an arrow function. Arrow functions inside a class automatically get bound.
Got it. Thank you Dino Cajic
@@dinocajicwe can bind with 4 method bro here we use arrow fucntion so that why we don't need to bind it
Class No.14 had introduced the binding concept and its methods.
Is this concept of passing data from child component to parent component ?
you did the same thing what you did for the video before HOC. So you could have referred from that only.
your videos Fundamentals on class componend based plzz update functional componend
Thanks Please make a video about simple login logout implementation in react side . That will be very helpfull.
Great example thank you!
You are best
Any problem in using const count = this.state.count; in render method instead of const {count} =this.state ???
Adhere to standard practices since your code will be read by other developers in your workstation. Stick with the latter.
this video: why need the render props
the code is same as the part HOC 1
Instead of duplicating this video you could have asked us to refer the hoc video lol,
2:10 ●━━━━━━━━━━━ 4:50
⇆ㅤㅤㅤㅤ◁ㅤㅤ❚❚ㅤㅤ▷ㅤㅤㅤㅤ↻
4:04 another requirement of client
is it necessary to write const (count) = this.state , as you have done in 2:06? i think it might work without that too.
He is destructuring..it might be done with it I guess, but destructuring is god for code readability.
You also can write like const count = this.state.count (if you really do not want to use destructuring here)
const RenderPropsPart1 = withNewIncrementNum(HOCPart1) :D :D :D
Which extention you use for snippets?
ES7 React/Redux/GraphQL/React-Native snippets
this one is meaningless...
copied
Briliant !
great work!!! Excellent explanation!!!
duplicate video
Why allways remove "export" ?
if you export with the 'export' then you're bound to use the same name of class component where it's implemented;
{ someComponent } from '../SomeComponent'.
if you export as default, you can rename it to whatever you like;
changedNameofSomeComponent from '../SomeComponent'
Thanks