Refs are a React feature which let you directly access DOM nodes created by a component’s render() method. They provide a way to break out of React’s declarative rendering so you can call browser APIs.
Read This Article on CloudSavvy IT ›
Source : How to Use Refs in React