Skip to content

Commit 901266e

Browse files
author
Luca Forstner
committed
Add default tracked hooks
1 parent af002e0 commit 901266e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/platforms/javascript/guides/nuxt/features/component-tracking.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ Sentry.init({
6868
});
6969
```
7070

71+
The default set of tracked hooks is `['activate', 'mount', 'update']`.
72+
7173
The following hooks are available to track: `['activate', 'create', 'unmount', 'mount', 'update']`
7274

7375
Note that when specifying `hooks`, we use the simple verb rather than `before` and `-ed` pairs. For example, `unmount` is correct, while `beforeUnmount` and `unmounted` are incorrect.

0 commit comments

Comments
 (0)