Cognizant interview question

What are refs? How will you use it for getting input value? Explain with code.

Interview Answer

Anonymous

18 Apr 2021

Be sure to know the code for ref, class as well as functional component.