Skip to content

Commit 8c19e18

Browse files
fix(docs): Corrected typos in project documentation (#669)
1 parent 5a70744 commit 8c19e18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ set({
176176
setTimeout(() => remove(), 3000)
177177
```
178178

179-
There is no reactivity for custom apps. The integrator need to take care of that and call `set` and `remove` when appropiate. If you call `addApp.set` on the client before the app is mounted, the tags will be processed on the first refresh. If you call set when the app is mounted they tags are immediately processed.
179+
There is no reactivity for custom apps. The integrator need to take care of that and call `set` and `remove` when appropriate. If you call `addApp.set` on the client before the app is mounted, the tags will be processed on the first refresh. If you call set when the app is mounted they tags are immediately processed.
180180

181181
The function is called addApp because the added metaInfo is treated exactly the same as when there are multiple apps on one page. Eg the tags that will be added will also list the `appId` you specifiy:
182182
```html

docs/faq/performance.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Short answer, no
44

55
On the client, `vue-meta` batches DOM updates using [`requestAnimationFrame`](https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame). It needs to do this because it registers a Vue mixin that subscribes to the [`beforeMount`](https://vuejs.org/api/#beforeMount) lifecycle hook on all components in order to be notified that renders have occurred and data is ready. If `vue-meta` did not batch updates, the DOM metadata would be re-calculated and re-updated for every component on the page in quick-succession.
66

7-
Thanks to batch updating, the update will only occurr once - even if the correct metadata has already been compiled by the server. If you don't want this behaviour, see below.
7+
Thanks to batch updating, the update will only occur once - even if the correct metadata has already been compiled by the server. If you don't want this behaviour, see below.
88

99
:::tip Improvements since v2.0
1010
Previous versions of vue-meta injected lifecycle hooks from the global mixin on all components on the page. Also when refreshing metadata it checked all components on the page

0 commit comments

Comments
 (0)