File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
packages/runtime-core/src Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ export interface SchedulerJob {
12
12
* By default, a job cannot trigger itself because some built-in method calls,
13
13
* e.g. Array.prototype.push actually performs reads as well (#1740) which
14
14
* can lead to confusing infinite loops.
15
- * The allowed cases are component render functions and watch callbacks.
16
- * Render functions may update child component props, which in turn trigger
17
- * flush: "pre" watch callbacks that mutates state that the parent relies on
18
- * (#1801). Watch callbacks doesn't track its dependencies so if it triggers
19
- * itself again, it's likely intentional and it is the user's responsibility
20
- * to perform recursive state mutation that eventually stabilizes (#1727).
15
+ * The allowed cases are component update functions and watch callbacks.
16
+ * Component update functions may update child component props, which in turn
17
+ * trigger flush: "pre" watch callbacks that mutates state that the parent
18
+ * relies on (#1801). Watch callbacks doesn't track its dependencies so if it
19
+ * triggers itself again, it's likely intentional and it is the user's
20
+ * responsibility to perform recursive state mutation that eventually
21
+ * stabilizes (#1727).
21
22
*/
22
23
allowRecurse ?: boolean
23
24
}
You can’t perform that action at this time.
0 commit comments