UNPKG

redux-toolkit-state

Version:

🚀 A powerful & lightweight React hook library that simplifies Redux state management with a familiar useState-like API. Built on Redux Toolkit for optimal performance.

8 lines (7 loc) • 274 B
import { jsx as _jsx } from "react/jsx-runtime"; import { Provider } from 'react-redux'; import { getStore } from './store'; export function GlobalReduxProvider({ children }) { const store = getStore(); return _jsx(Provider, { store: store, children: children }); }