Module freya::prelude::warnings

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.