React Tutorial - 30.useRef && useImperativeHandle

Pubblicato il: 17 ottobre 2021
sul canale di: feeco
22
0

1.useRef -- is a way to create ref in function component
a.store element node and focus
b.store a component instance

2.useRef is used to store special value which could cross lifey cycle

3.useImperativeHandle
a.forwardRef() -- is a higher order component used when parent component want to control elements in the child component
b.useImperativeHandle limit the control of parent component , limit what parent component can do upon child component


In questa pagina del sito puoi guardare il video online React Tutorial - 30.useRef && useImperativeHandle della durata di ore minuti seconda in buona qualità , che l'utente ha caricato feeco 17 ottobre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 22 volte e gli è piaciuto 0 spettatori. Buona visione!