Good explanation with key points delivered as well concurrently
@YouKnow-ns2mr Жыл бұрын
I guess we can do this by lifting state up too... If I'm wrong kindly correct me...🙋♂
@dev.sochokuchnaya Жыл бұрын
yeah that is another way.in that case we are sending the whole function as callback in parent component...however in this video scenario we are just passing a reference...and passing a reference is doesn't slow your app and consumes less memory space.