React.createRef() createRef() receives the underlying DOM element as its current property. When the ref attribute is used on a custom class component, the ref object receives the mounted instance of the component as its current . The above descript...
sujeet-agrahari.hashnode.dev3 min read
It is good shot and sweet explanation on refs in React. Good job @sujeet-agrahari
Olanrewaju Alaba
Software Engineer || Technical Writer
Great blog ๐