Skip to content

ndraaditiya/react-ref-useImperativeHandle

Repository files navigation

React Ref, FordwardRef, UseImperativeHandle

This is a Simple Example Way to use React ref, forwardRef and useImperativeHandle hooks

useImperativeHandle hooks is available on React 18

you can see the web on here

just in case, you're wondering why we can't just put the ref on props and not using forwardRef

here the answer from my frined gpt haha: image

About

This is a Simple Example Way to use React ref, forwardRef and useImperativeHandle hooks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published