call child function from parent component in react.js

  Рет қаралды 614

dev.sochokuchnaya

dev.sochokuchnaya

Жыл бұрын

functional component with useRef hook in javascript typescript
blog - dev.sochokuchnaya.com/blog/re...

Пікірлер: 6
@kashmirtechtv2948
@kashmirtechtv2948 7 ай бұрын
Good explanation with key points delivered as well concurrently
@Vishal-il2mz
@Vishal-il2mz Жыл бұрын
Good ❣️
@dev.sochokuchnaya
@dev.sochokuchnaya Жыл бұрын
thanks man. stay tuned
@YouKnow-ns2mr
@YouKnow-ns2mr Жыл бұрын
I guess we can do this by lifting state up too... If I'm wrong kindly correct me...🙋‍♂
@dev.sochokuchnaya
@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.
@YouKnow-ns2mr
@YouKnow-ns2mr Жыл бұрын
Thanks 🙏
Learn React Hooks: useImperativeHandle - Simply Explained!
9:54
Cosden Solutions
Рет қаралды 18 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 38 МЛН
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 550 М.
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 15 МЛН
Simulating the Evolution of Rock, Paper, Scissors
15:00
Primer
Рет қаралды 733 М.
Call Child Component Function in React.js
6:26
Coding With Dawid
Рет қаралды 7 М.
College interview question that confused most students
10:22
Higher Mathematics
Рет қаралды 8 М.
React JS Tutorial - 5 - Calling a function of other component
7:40
Kode With Kamran
Рет қаралды 17 М.
PROPS in React explained 📧
12:09
Bro Code
Рет қаралды 66 М.
Why useEffect causes infinite loops - fix it with useCallback
9:31
Props from Child to Parent Component (Hack)
8:09
Code with Ania Kubów
Рет қаралды 119 М.
useRef hook in reactjs | Easiest way
19:44
Hitesh Choudhary
Рет қаралды 74 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 38 МЛН