Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
router back not work when loading #3150
Steps to reproduce
What is expected?
router back immediately.
What is actually happening?
when something is loading，i want to let router go back, but the page does not change immediately, when browser loading end, the page show correctly.
In my app , I need to do something in router change(log my page path, title), but when the internet speed is slow, use the function of back or go(-1), I can not back
The Router needs to wait for the js that is necessary to render your page before navigating there. This needs to happen with both normal navigation and history-based navigation (back and forward buttons)
Note: please, next time, provide explicit written steps in reproductions steps, not a screenshot, it will be much clearer