pub fn effect<F>(f: F) -> Disposewhere F: FnOnce() -> Dispose + 'static,
Mimic Compose side-effect. You call effect(|| { …; on_unmount(…) })