React refs and useImperativeHandle hook : A secret sauce for creating complex and reusable custom components.
Nov 4, 2023 · 3 min read · Refs in react are objects that allow us to store values (of any type) that do not trigger re-renders when updated. Native elements have props ref which we can set to a ref we created before, to get a direct reference to that element. This allows us t...
Join discussion

