React: Using Refs with the useRef Hook

Implementing Refs in React with hooks, with example use cases

Ross Bulat

--

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…

--

--

Ross Bulat

Programmer and Author. @ Parity Technologies, JKRB Investments