Expand description
By default, attempting to Track
a signal when you are not in a
reactive tracking context will cause a warning when you are in debug mode.
In some cases, this warning is a false positive. For example, inside an event listener in a user interface, you never want to read from a signal reactively; the event listener should run when the event fires, not when a signal read in the event listener changes.
This module provides utilities to suppress those warnings by entering a
SpecialNonReactiveZone
.
Structs§
- Marks an execution block that is known not to be reactive, and suppresses warnings.
- Exits the “special non-reactive zone” when dropped.