This example shows how to integrate Next.js with Redux Toolkit.
The Redux Toolkit is a standardized way to write Redux logic (create actions and reducers, setup the store with some default middlewares like redux devtools extension). This example demonstrates each of these features with Next.js
Deploy the example using Vercel:
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-redux with-redux-appyarn create next-app --example with-redux with-redux-apppnpm create next-app --example with-redux with-redux-appDeploy it to the cloud with Vercel (Documentation).