Skip to content

Commit c0ffb4a

Browse files
committed
Merge pull request #136 from jimf/fix-typo
Fix typo
2 parents ad10bc5 + 22d8ecd commit c0ffb4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/guide/best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ As mentioned above, Vue observes data by converting properties with `Object.defi
4343

4444
These methods can be used to add / delete properties from observed objects while triggering the desired DOM updates. The difference between `$add` and `$set` is that `$add` will return early if the key already exists on the object, so just calling `obj.$add(key)` won’t overwrite the existing value with `undefined`.
4545

46-
A related note is that when you change a data-bound Array directly by setting indices (e.g. `arr[1] = value`), Vue will not be able to pick up the change. Again, you can use augmented methods to notify Vue.js about those changes. Observerd Arrays are augmented with two methods:
46+
A related note is that when you change a data-bound Array directly by setting indices (e.g. `arr[1] = value`), Vue will not be able to pick up the change. Again, you can use augmented methods to notify Vue.js about those changes. Observed Arrays are augmented with two methods:
4747

4848
- `arr.$set(index, value)`
4949
- `arr.$remove(index | value)`

0 commit comments

Comments
 (0)