A tiny wrapper for the makeStore() function. It sends the received Next.js context to nextReduxCookieMiddleware on the server via a SERVE_COOKIES action.
makeStore()
Use it like this:
export const wrapper = createWrapper<AppStore>(wrapMakeStore(makeStore));
A wrapped version of the makeStore() function
The makeStore() function for next-redux-wrapper
next-redux-wrapper
Generated using TypeDoc
A tiny wrapper for the
makeStore()
function. It sends the received Next.js context to nextReduxCookieMiddleware on the server via a SERVE_COOKIES action.Use it like this:
Returns
A wrapped version of the
makeStore()
function