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

7 lines (6 loc) 234 B
import 'react-toastify/dist/ReactToastify.css'; type AppProps = { setParentReduxState: (a: string) => void; }; declare const App: ({ setParentReduxState }: AppProps) => import("react/jsx-runtime").JSX.Element; export default App;