From d8eb2eb44f9ef632bbdebc58d248d71c93a6efd3 Mon Sep 17 00:00:00 2001 From: Austin Woetzel <30289932+AustinWoetzel@users.noreply.github.com> Date: Thu, 22 Apr 2021 06:20:26 -0500 Subject: [PATCH] Fix broken link to repo explaining Instance names --- src/v2/cookbook/adding-instance-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/cookbook/adding-instance-properties.md b/src/v2/cookbook/adding-instance-properties.md index f2e7e6f460..8df1c7eab0 100644 --- a/src/v2/cookbook/adding-instance-properties.md +++ b/src/v2/cookbook/adding-instance-properties.md @@ -58,7 +58,7 @@ new Vue({ }) ``` -It would be `"My App"`, then `"The name of some other app"`, because `this.appName` is overwritten ([sort of](https://github.com/getify/You-Dont-Know-JS/blob/2nd-ed/objects-classes/ch5.md)) by `data` when the instance is created. We scope instance properties with `$` to avoid this. You can even use your own convention if you'd like, such as `$_appName` or `ΩappName`, to prevent even conflicts with plugins or future features. +It would be `"My App"`, then `"The name of some other app"`, because `this.appName` is overwritten ([sort of](https://github.com/getify/You-Dont-Know-JS/blob/1st-ed/this%20%26%20object%20prototypes/ch5.md)) by `data` when the instance is created. We scope instance properties with `$` to avoid this. You can even use your own convention if you'd like, such as `$_appName` or `ΩappName`, to prevent even conflicts with plugins or future features. ## Real-World Example: Replacing Vue Resource with Axios