Skip to content

Commit 7b819f3

Browse files
committed
Update vnodes.md
1 parent 9d9e0e7 commit 7b819f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/vnodes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ When creating libraries that emit vnodes, you should use this module instead of
116116

117117
Vnodes are supposed to represent the state of the DOM at a certain point in time. Mithril.js's rendering engine assumes a reused vnode is unchanged, so modifying a vnode that was used in a previous render will result in undefined behavior.
118118

119-
It is possible to reuse vnodes in place to prevent a diff, but it's preferable to use the [`onbeforeupdate`](lifecycle.md#onbeforeupdate).
119+
It is possible to reuse vnodes in place to prevent a diff, but it's preferable to use the [`onbeforeupdate`](lifecycle-methods.md#onbeforeupdate).
120120

121121
#### Avoid passing model data directly to components via attributes
122122

@@ -174,4 +174,4 @@ var BetterListComponent = {
174174
}))
175175
}
176176
}
177-
```
177+
```

0 commit comments

Comments
 (0)