0.0.4 • Published 1 month ago
@cronocode/recoil-utils v0.0.4
Recoil utils
Installation
npm install @cronocode/recoil-utils
Or if you're using yarn:
yarn add @cronocode/recoil-utils
Or if you're using bower:
bower install --save @cronocode/recoil-utils
Usage
import { useRecoilCachedValue } from "@cronocode/recoil-utils";
const [stateValue, loading] = useRecoilCachedValue(
recoilSelector,
defaultValue
);
License
Recoil is MIT licensed.