Open crazy4groovy opened 3 years ago
@crazy4groovy Thank you for contacting me š
Actually, I've been trying to support next-redux-wrapper v6 for some time now, but I've failed many times. The other boilerplate git repositories have been out of date for a long time, and there's nothing in the official examples that I can refer to.
Cannot read property 'getState' of undefined
has been resolved, but I have not been able to resolve the following SSR issues.
Warning: Prop `className` did not match. Server: "MuiPaper-root makeStyles-root-177 makeStyles-root-178 MuiPaper-elevation6 MuiPaper-rounded" Client: "MuiPaper-root makeStyles-root-177 makeStyles-root-179 MuiPaper-elevation6 MuiPaper-rounded"
I haven't figured out how to solve it, and I can't motivate myself to continue... š«
There is a feature branch with the above problems, so please try to fix them yourself if you can. feature/migrate-to-next-redux-wrapper6
However, Next.js is reluctant to SSR and Redux , and in the future, it should be aggressive on Next.js + SWR static sites, so you might want to avoid betting on the combination of Next.js + SSR + Redux.
Related project, action/reducer based state mangement with nextjs: https://github.com/fleur-js/fleur
Hi - this is very cool, thanks. Can you update it with the latest libs?