Рет қаралды 1,152
useRef(initialValue) is a built-in React hook that accepts one argument as the initial value and returns a reference (aka ref).
Ref forwarding is a technique for automatically passing a ref through a component to one of its children. It's very useful when building reusable component libraries. forwardRef is a function used to pass the ref to a child component.
useImperativeHandle is a React Hook that lets you customize the handle exposed as a ref.
Follow us on Twitter -
/ sumitm14455640
/ algopraveen
#reactjs #reacthooks
#useRef , #useImperativeHandle #forwardRef #React #frontend #javascript #hooks