You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/README.md
+20
Original file line number
Diff line number
Diff line change
@@ -614,6 +614,8 @@ These attributes define specific features when used in a metaInfo property
614
614
615
615
When adding a metaInfo property that should be added once without reactivity (thus will never be updated) you can add `once: true` to the property.
616
616
617
+
> `once` only works reliably during SSR. When using `once` in components, you need to also use `skip` and store a skip status outside of the component scope.
618
+
617
619
```js
618
620
{
619
621
metaInfo: {
@@ -625,6 +627,24 @@ When adding a metaInfo property that should be added once without reactivity (th
625
627
}
626
628
}
627
629
```
630
+
or in combination with `skip`
631
+
```js
632
+
let theJsHasBeenAddedSoSkipIt =false// <-- outside the component scope
0 commit comments