medium75%
router.replace on iOS 17+ Chrome 127+ causes history entry skip on back navigation
Using router.replace inside a Link's onClick handler before navigation causes the previous page to be skipped on back navigation on iOS 17+ and Chrome 127+ due to a WebKit history API race; workaround is to prevent default and sequence replace/push with a delay.
