Function dioxus::prelude::use_on_unmount
source · pub fn use_on_unmount<D>(destroy: D)where
D: FnOnce() + 'static,
👎Deprecated: Use
use_drop
instead, which has the same functionality.Available on crate feature
hooks
only.