Expand description
Warnings that can be triggered by suspicious usage of signals
Structsยง
- copy_
value_ hoisted - A warning that is triggered when a copy value is used in a higher scope that it is owned by
- signal_
read_ and_ write_ in_ reactive_ scope - Check if the write happened during a scope that the signal is also subscribed to. If it did, trigger a warning because it will likely cause an infinite loop.
- signal_
write_ in_ component_ body - Check if the write happened during a render. If it did, warn the user that this is generally a bad practice.