functional component with useRef hook in javascript typescript blog - dev.sochokuchnaya.com/blog/re...
Пікірлер: 6
@kashmirtechtv29487 ай бұрын
Good explanation with key points delivered as well concurrently
@Vishal-il2mz Жыл бұрын
Good ❣️
@dev.sochokuchnaya Жыл бұрын
thanks man. stay tuned
@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.