Navigate replace without generate new location.key
Author: vanntrongCreated Aug 9, 2023Updated Aug 9, 2023
Hello, I used React and React router dom in my app, in some pages I used navigate function from useNavigate with replace, but when I use this it always generates a new key for the same URL. How can I avoid this behavior? I want to navigate but it doesn't generate a new location.key
Source: remix-run/history