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) 175 B
import type { AsyncStorageConfig } from "types"; export declare const setAsyncStorageItem: <T>(item: T, args: AsyncStorageConfig) => void; export default setAsyncStorageItem;