router.replace()
with a string location with query and hash are not taken into account
#668
Labels
router.replace()
with a string location with query and hash are not taken into account
#668
Calling
router.replace('/search?q=hi')
doesn't take into account the query and hash as it would withrouter.push()
.A workaround is to call
router.push({ replace: true })
The text was updated successfully, but these errors were encountered: