Categories
Uncategorized

Demystifying the useRef Hook in 6 minutes

In this video, we will learn about the useRef hook in React. This hook is very similar to the useState hook that we had learnt earlier in the sense that it also persists the values across re-renders but unlike useState, useRef does not cause a re-render of the component. We will see a couple of examples to understand this hook in great detail..

Leave a Reply

Your email address will not be published.