3 ms·
window.location.replace https://stackoverflow.com/questions/43838496/redirect-with-javascript-but-without-affecting-the-history https://stackoverflow.com/quest
by lupire 4y ago
window.location.replace
https://stackoverflow.com/questions/43838496/redirect-with-javascript-but-without-affecting-the-history https://stackoverflow.com/questions/43838496/redirect-with-j...
- qwerki 4y agoFollowing this hint turns out I had left out the `replace={true}` prop on react router's Navigate component. Thank you for taking the time to point me in the right direction!