dioxus_lib::prelude

Module warnings

source
Expand description

Warnings that can be triggered by suspicious usage of signals

Structsยง

  • A warning that is triggered when a copy value is used in a higher scope that it is owned by
  • 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.
  • Check if the write happened during a render. If it did, warn the user that this is generally a bad practice.