Since the latest Next.js with App Router now, it actually easier to configure it, but i just want to share my code that is stable on production, how do i configure Redux in Next.js, including for Pages Router.
I want to remind you, i just want to share the code, not really like a documentation-ish.
This configure of Redux is using
- React Redux
- Redux Toolkit
- Redux Persist (LocalStorage)