next-redux-wrapper
next-redux-wrapper copied to clipboard
Redux wrapper for Next.js
## Describe the bug Getting a couple of type errors while creating the store. This error started coming in when I upgraded the wrapper from version `6.0.2` to `7.0.2` Errors...
## Describe the bug Getting TypeError: Cannot read properties of undefined (reading 'dispatch') After update from 6.0.2 to 7.0.5 ## To Reproduce here _App.tsx import React from 'react'; import App,...
**Is your feature request related to a problem? Please describe.** In the version 6 the `HYDRATE ` action was introduced. I guess it was done to allow the usage of...
## Describe the bug If we want to process `getInitialProps` in the pages/_app and at the same time have `getServerSideProps` on the page level then we need to slightly modify...
Question --------- I have some client only state. How to add it (initialState) to the store separately (only on the client), without sending it with the rest of the state...
I'm trying out different approaches with the latest next-redux-wrapper version because we should upgrade our large app from an older version. I tried using getStaticProps with redux-saga but didn't get...
## Describe the bug We see an increase of the memory usage on server after the migration from next-redux-wrapper V5 to V6 ## To Reproduce Here are the store.ts :...
NPM: `hoist-non-react-statics`
**Problem** Debug logging [uses `console.log`](https://github.com/kirill-konshin/next-redux-wrapper/blob/2060c41a0c1e751db50ead8f673c3eb067405142/packages/wrapper/src/index.tsx#L275). It prevents the usage of a logging library like [`pino`](https://github.com/pinojs/pino) in order to implement structured logging like when using [GCP's Structured Logging](https://cloud.google.com/logging/docs/structured-logging). This makes it...
 How is this possible? I literally just imported the function like this: `import { Context, createWrapper } from 'next-redux-wrapper'` This is my package.json `...