Function use_on_unmount
pub fn use_on_unmount<D>(destroy: D)where
D: FnOnce() + 'static,👎Deprecated: Use
use_drop instead, which has the same functionality.pub fn use_on_unmount<D>(destroy: D)where
D: FnOnce() + 'static,use_drop instead, which has the same functionality.