pub fn with_owner<T>(owner: Owner, f: impl FnOnce() -> T) -> T
Runs the given code with the given reactive owner.
Panics if there is no current reactive runtime.