Testing image ssr with redux and redux-toolkit in a NextJS project.
Toying with redux-persist and/or next-redux-wrapper as well.
yarn dev
to run.
Research links:
- https://www.youtube.com/watch?v=iBUJVy8phqw
- https://www.youtube.com/watch?v=QIqvxQnPOCM
- https://stackoverflow.com/questions/60626451/is-using-redux-with-next-js-an-anti-pattern
- https://stackoverflow.com/questions/61705940/best-way-to-store-file-objects-in-react-redux-store
- https://stackoverflow.com/questions/64646240/can-i-store-an-array-of-class-instances-in-redux
- https://github.com/kirill-konshin/next-redux-wrapper
- https://redux.js.org/usage/server-rendering/#redux-on-the-server
- https://dev.to/waqasabbasi/server-side-rendered-app-with-next-js-react-and-redux-38gf
- https://github.com/vercel/next.js/tree/canary/examples/with-redux
- https://stackoverflow.com/questions/37195590/how-can-i-persist-redux-state-tree-on-refresh
- https://redux.js.org/faq/design-decisions
- https://redux.js.org/style-guide/#do-not-put-non-serializable-values-in-state-or-actions