Tushar RupaniforTushar's Blogstushar-rupani.hashnode.netยทJan 18, 2023Understanding useRef() in ReactWhat is useRef()? First of all, let's compare useRef() with useState(). The main difference between them is, a change in useState() variable will always cause a re-render, whereas, a change in useRef() won't cause the re-render. People use it for acc...66 readsReactAdd a thoughtful commentNo comments yetBe the first to start the conversation.