Tushar Rupanitushar-rupani.hashnode.devยท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...160 readsReactAdd a thoughtful commentNo comments yetBe the first to start the conversation.