Module warnings

Source
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.