pub fn use_set<T>(
    cx: &'a ScopeState,
    f: impl Writable<T>
) -> &'a Rc<dyn Fn(T) + 'static>where
    T: 'static,