Skip to content

Commit 48aa9fb

Browse files
committed
📘 doc: add info about aot=false trace
1 parent 7e67a56 commit 48aa9fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/patterns/trace.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ There are many factors that can slow down our app - and it's hard to identify th
2424

2525
Trace allows us to inject code to before and after of each life-cycle event, block and interact with the execution of the function.
2626

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+
2731
## Trace
2832
Trace use a callback listener to ensure that callback function is finished before moving on to the next lifecycle event.
2933

0 commit comments

Comments
 (0)