message: Fix useAsyncMemo out-of-order resolutions
diff: @@ -21,7 +21,15 @@ type Fn<T> = () => Promise<T>;
  export const useAsyncMemo = <T>(fn: Fn<T>, deps: DependencyList, initialValue?: T): T => {
  const [value, setValue] = useState<T>(initialValue);
  useEffect(() => {
  - fn().then(setValue);
  + let discard = false;
  + fn().then(v => {
  + if (!discard) {
  + setValue(v);
  + }
  + });
  + return () => {
  + discard = true;
  + };
  }, deps); // eslint-disable-line react-hooks/exhaustive-deps
  return value;
  };
  