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/patterns/trace.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,10 @@ There are many factors that can slow down our app - and it's hard to identify th
24
24
25
25
Trace allows us to inject code to before and after of each life-cycle event, block and interact with the execution of the function.
26
26
27
+
::: info
28
+
trace doesn't work with dynamic mode `aot: false`, as it requires the function to be static and known at compile time otherwise it will have a large performance impact.
29
+
:::
30
+
27
31
## Trace
28
32
Trace use a callback listener to ensure that callback function is finished before moving on to the next lifecycle event.
0 commit comments