Revisit Route Triggers Too Early

# Introduction In this project, you will learn how to fix a bug in the Vue Router v2.5.2 where the `beforeRouteUpdate` `next()` function is triggered too early when revisiting a route in an "out-in" transition. ## 👀 Preview ![finished](https://file.labex.io/namespace/718bace8-27a3-4200-a588-dde4041ceeb9/vuejs/project-revisit-route-triggers-too-early/lab-revisit-route-triggers-too-early/assets/effect2.gif) ## 🎯 Tasks In this project, you will learn: - How to locate and understand the issue in the `vue-router-2.5.2/src/components/view.js` file - How to fix the issue by updating the `data.registerRouteInstance` function - How to rebuild the `vue-router-2.5.2` project with the fix - How to test the fix to ensure the issue is resolved ## 🏆 Achievements After completing this project, you will be able to: - Identify and fix issues in the Vue Router library - Rebuild a project after making code changes - Test and verify the fix to ensure it resolves the issue

|60 : 00

Click the virtual machine below to start practicing