Lines Matching refs:effects
3 …rinciple.md), the loading and execution of modules may cause side effects. Side effects refer to e…
9 …ent in the module, any code executed in the top-level scope will be run, resulting in side effects.
12 … loaded!"); // The code is executed immediately after being imported, which may cause side effects.
24 **Side effects**
43 Optimization method 2: Place the code that may cause side effects in the function or method and exe…
62 …ted module may directly operate global variables to change the global state and cause side effects.
95 **Side effects**
101 Code that may cause side effects is placed inside a function or method and executed only when neces…
142 … the application-level ArkUI component, thereby changing the global state and causing side effects.
175 **Side effects**
183 Code that may cause side effects is placed inside a function or method and executed only when neces…
236 **Side effects**
247 …oaded. As a result, some code behaves abnormally during execution, causing unexpected side effects.
265 **Side effects**
271 …dule loading sequence is clear and controllable to avoid unexpected side effects. [@security/no-cy…
291 **Side effects**
297 Code that may cause side effects is placed inside a function or method and executed only when neces…