React: Using Refs with the useRef Hook
Implementing Refs in React with hooks, with example use cases
11 min readOct 8, 2019
--
Refs: Component mutations in React without state
Refs in React give us a means of storing mutable values throughout a component’s lifecycle, and are often used for interacting with the DOM without the need of re-rendering a component. In…