recoil
Version:
Recoil - A state management library for React
19 lines (17 loc) • 400 B
Flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails oncall+recoil
* @flow strict-local
* @format
*/
;
const {
useEffect,
useRef
} = require('react');
declare function usePrevious<T>(value: T): T | void;
module.exports = usePrevious;