import * as starfx from "https://deno.land/x/starfx@v0.13.4/react.ts";
Variables
A hook to access the redux | |
A hook to access the redux store's state. This hook takes a selector function as an argument. The selector is called with the store state. |
Functions
useApi will take an action creator or action itself and fetch
the associated loader and create a | |
useCache uses useQuery and automatically selects the cached data associated with the action creator or action provided. | |
useLoader will take an action creator or action itself and return the associated loader for it. | |
useLoaderSuccess will activate the callback provided when the loader transitions from some state to success. | |
useQuery uses useApi and automatically calls | |
Interfaces
This interface allows you to easily create a hook that is properly typed for your store's root state. | |