pub fn create_memo<T>(f: impl Fn(Option<&T>) -> T + 'static) -> Memo<T>where
T: PartialEq + 'static,👎Deprecated since 0.2.0: Use Memo::new instead; this will be removed in a future release
Expand description
Create a Memo which takes the computed value of the given function, and triggers the reactive system when the computed value is different from the last computed value.