UNPKG

react-native-global-state-hooks

Version:

This is a package to easily handling global-state across your react-native-components No-redux... The library now includes @react-native-async-storage/async-storage to persist your state across sessions... if you want to keep using the old version without

4 lines (3 loc) 184 B
import type { AsyncStorageConfig } from "./types"; export declare const getAsyncStorageItem: <TState>(args: AsyncStorageConfig) => Promise<TState>; export default getAsyncStorageItem;