Introduction
In this project, you will learn how to resolve an issue in the vue-router v3.4.0 version where undefined values in router queries are now changed to undefined strings. You will fix this issue by modifying the resolveQuery
function in the query.js
file of the vue-router library.
👀 Preview
🎯 Tasks
In this project, you will learn:
- Locate and understand the
resolveQuery
function in thequery.js
file - Modify the
resolveQuery
function to properly handle undefined values in the query - Rebuild the vue-router 3.4.0 project with the fix
- Test the fix to ensure that undefined values in the query are now correctly displayed as empty strings
🏆 Achievements
After completing this project, you will be able to:
- Identify and fix issues in a third-party library
- Apply techniques for modifying and rebuilding a project to apply a fix
- Understand the importance of thoroughly testing changes to ensure the desired behavior is achieved