Expand description
Warnings that can be triggered by suspicious usage of signals
Re-exports§
pub use __copy_value_hoisted::__Callable::*;
pub use __signal_write_in_component_body::__Callable::*;
pub use __signal_read_and_write_in_reactive_scope::__Callable::*;
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.