Handling Null Values Correctly

Beginner

In this project, you will learn how to fix a bug in the `vue-router-2.7.0` library related to handling `null` values in the `query` parameter.

JavaScriptVue.js

Introduction

In this project, you will learn how to fix a bug in the vue-router-2.7.0 library related to handling null values in the query parameter.

👀 Preview

finished

🎯 Tasks

In this project, you will learn:

  • How to locate and understand the isObjectEqual function in the vue-router-2.7.0/src/util/route.js file.
  • How to fix the isObjectEqual function to correctly handle null values.
  • How to rebuild and release the vue-router-2.7.0 project with the fixed function.
  • How to test the fix by checking the browser console for the absence of the previous error messages.

🏆 Achievements

After completing this project, you will be able to:

  • Identify and fix a bug in a third-party library.
  • Work with the vue-router-2.7.0 library and understand its internal functions.
  • Rebuild and release a project after making code changes.
  • Test the fix by checking the browser console for error messages.

Teacher

labby

Labby

Labby is the LabEx teacher.