Skip to content

Commit 7a523e6

Browse files
committed
clarifying tweaks to instance.md, resolves vuejs#752
1 parent b95342d commit 7a523e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/v2/guide/instance.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ order: 3
66

77
## Constructor
88

9-
Every Vue vm is bootstrapped by creating a **root Vue instance** with the `Vue` constructor function:
9+
Every Vue application is bootstrapped by creating a **root Vue instance** with the `Vue` constructor function:
1010

1111
``` js
1212
var vm = new Vue({
1313
// options
1414
})
1515
```
1616

17-
Although not strictly associated with the [MVVM pattern](https://en.wikipedia.org/wiki/Model_View_ViewModel), Vue's design was partly inspired by it. As a convention, we often use the variable `vm` (short for ViewModel) to refer to our Vue instances.
17+
Although not strictly associated with the [MVVM pattern](https://en.wikipedia.org/wiki/Model_View_ViewModel), Vue's design was partly inspired by it. As a convention, we often use the variable `vm` (short for ViewModel) to refer to our Vue instance.
1818

19-
When you instantiate a Vue instance, you need to pass in an **options object** which can contain options for data, template, element to mount on, methods, lifecycle callbacks and more. The full list of options can be found in the [API reference](../api).
19+
When you instantiate a Vue instance, you need to pass in an **options object** which can contain options for data, template, element to mount on, methods, lifecycle callbacks, and more. The full list of options can be found in the [API reference](../api/#Options-Data).
2020

2121
The `Vue` constructor can be extended to create reusable **component constructors** with pre-defined options:
2222

@@ -53,7 +53,7 @@ data.a = 3
5353
vm.a // -> 3
5454
```
5555

56-
It should be noted that only these proxied properties are **reactive**. If you attach a new property to the instance after it has been created, it will not trigger any view updates. We will discuss the reactivity system in detail later.
56+
It should be noted that only these proxied properties are **reactive**, meaning any changes to their values will trigger the view to re-render. If you attach a new property to the instance after it has been created, it will not trigger any view updates. We will discuss the reactivity system in detail later.
5757

5858
In addition to data properties, Vue instances expose a number of useful instance properties and methods. These properties and methods are prefixed with `$` to differentiate them from proxied data properties. For example:
5959

@@ -75,7 +75,7 @@ vm.$watch('a', function (newVal, oldVal) {
7575

7676
<p class="tip">Don't use [arrow functions](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Functions/Arrow_functions) on an instance property or callback (e.g. `vm.$watch('a', newVal => this.myMethod())`). As arrow functions are bound to the parent context, `this` will not be the Vue instance as you'd expect and `this.myMethod` will be undefined.</p>
7777

78-
Consult the [API reference](../api) for the full list of instance properties and methods.
78+
Consult the [API reference](../api/#Instance-Properties) for the full list of instance properties and methods.
7979

8080
## Instance Lifecycle Hooks
8181

0 commit comments

Comments
 (0)