1.

How do you reference a DOM element in react?

Answer»

In React, an object this.refs which is found as an instance inside the COMPONENT can be used to ACCESS DOM elements in Reactjs.

Note: One of the most tricky react ADVANCED INTERVIEW questions, you need to answer this QUESTION with utmost clarity. Maybe explaining it with a short example or even a dry run would help you get that dream job.



Discussion

No Comment Found