Posted On: Feb 22, 2018
Refs are used for managing focus, selecting text and triggering animations. It also integrates with third-party libraries. Refs help in getting the reference to a DOM (Document Object Model) node. They return the node that we are referencing. Whenever we need DOM measurements, we can use refs.
Never Miss an Articles from us.
React js is javascript based UI Library developed at Facebook, to create an interactive, stateful & reusable UI com..
Advantages of React JsReact.js is extremely efficient: React.js creates its own virtual DOM where your components act..
React Components let you split the UI into independent, reusable pieces, and think about each piece in isolation.Concep..