UNPKG

@rtbjs/use-state

Version:

`@rtbjs/use-state` is a state management tool that can act as a local state and be easily turned into a global redux state. It is an innovative approach to state management that combines the advantages of both React's useState and Redux's state management

4 lines (3 loc) 203 B
import { ReduxHistoryItem } from '../../redux/api/types'; declare const getParentKey: (key: React.Key, tree: ReduxHistoryItem | ReduxHistoryItem[] | null | undefined) => string; export { getParentKey };