Skip to content

Commit 8845069

Browse files
committed
fix dead links
1 parent 5a2b1c6 commit 8845069

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

src/api/options-lifecycle.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
1212

1313
Called synchronously immediately after the instance has been initialized, before data observation and event/watcher setup.
1414

15-
- **See also:** [Lifecycle Diagram](/guide/components/lifecycle)
15+
- **See also:** [Lifecycle Diagram](/guide/essentials/lifecycle.html#lifecycle-diagram)
1616

1717
## created
1818

@@ -22,7 +22,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
2222

2323
Called synchronously after the instance is created. At this stage, the instance has finished processing the options which means the following have been set up: data observation, computed properties, methods, watch/event callbacks. However, the mounting phase has not been started, and the `$el` property will not be available yet.
2424

25-
- **See also:** [Lifecycle Diagram](/guide/components/lifecycle)
25+
- **See also:** [Lifecycle Diagram](/guide/essentials/lifecycle.html#lifecycle-diagram)
2626

2727
## beforeMount
2828

@@ -34,7 +34,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
3434

3535
**This hook is not called during server-side rendering.**
3636

37-
- **See also:** [Lifecycle Diagram](/guide/components/lifecycle)
37+
- **See also:** [Lifecycle Diagram](/guide/essentials/lifecycle.html#lifecycle-diagram)
3838

3939
## mounted
4040

@@ -57,7 +57,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
5757

5858
**This hook is not called during server-side rendering.**
5959

60-
- **See also:** [Lifecycle Diagram](/guide/components/lifecycle)
60+
- **See also:** [Lifecycle Diagram](/guide/essentials/lifecycle.html#lifecycle-diagram)
6161

6262
## beforeUpdate
6363

@@ -69,7 +69,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
6969

7070
**This hook is not called during server-side rendering, because only the initial render is performed server-side.**
7171

72-
- **See also:** [Lifecycle Diagram](/guide/components/lifecycle)
72+
- **See also:** [Lifecycle Diagram](/guide/essentials/lifecycle.html#lifecycle-diagram)
7373

7474
## updated
7575

@@ -94,7 +94,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
9494

9595
**This hook is not called during server-side rendering.**
9696

97-
- **See also:** [Lifecycle Diagram](/guide/components/lifecycle)
97+
- **See also:** [Lifecycle Diagram](/guide/essentials/lifecycle.html#lifecycle-diagram)
9898

9999
## activated
100100

@@ -132,7 +132,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
132132

133133
**This hook is not called during server-side rendering.**
134134

135-
- **See also:** [Lifecycle Diagram](/guide/components/lifecycle)
135+
- **See also:** [Lifecycle Diagram](/guide/essentials/lifecycle.html#lifecycle-diagram)
136136

137137
## unmounted
138138

@@ -144,7 +144,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
144144

145145
**This hook is not called during server-side rendering.**
146146

147-
- **See also:** [Lifecycle Diagram](/guide/components/lifecycle)
147+
- **See also:** [Lifecycle Diagram](/guide/essentials/lifecycle.html#lifecycle-diagram)
148148

149149
## errorCaptured
150150

src/guide/advanced/ssr/universal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Because the actual rendering process needs to be deterministic, we will also be
1010

1111
## Component Lifecycle Hooks
1212

13-
Since there are no dynamic updates, the only [lifecycle hooks](/guide/components/lifecycle.html) that will be called during SSR are `beforeCreate` and `created`. This means any code inside other lifecycle hooks such as `beforeMount` or `mounted` will only be executed on the client.
13+
Since there are no dynamic updates, the only [lifecycle hooks](/guide/essentials/lifecycle.html) that will be called during SSR are `beforeCreate` and `created`. This means any code inside other lifecycle hooks such as `beforeMount` or `mounted` will only be executed on the client.
1414

1515
Another thing to note is that you should avoid code that produces global side effects in `beforeCreate` and `created`, for example setting up timers with `setInterval`. In client-side only code we may setup a timer and then tear it down in `beforeUnmount` or `unmounted`. However, because the destroy hooks will not be called during SSR, the timers will stay around forever. To avoid this, move your side-effect code into `beforeMount` or `mounted` instead.
1616

src/guide/essentials/template-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ It is possible to call a component-exposed method inside a binding expression. A
123123
</span>
124124
```
125125

126-
Functions called inside binding expressions should **not** have any side effects, such as changing data or triggering asynchronous operations. If you find yourself tempted to do that you should probably use a [lifecycle hook](/guide/components/lifecycle.html) instead.
126+
Functions called inside binding expressions should **not** have any side effects, such as changing data or triggering asynchronous operations. If you find yourself tempted to do that you should probably use a [lifecycle hook](/guide/essentials/lifecycle.html) instead.
127127

128128
### Restricted Globals Access
129129

0 commit comments

Comments
 (0)