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 or Yarn to bootstrap the example:
npx create-next-app --example with-redux with-redux-app
# or
yarn create next-app --example with-redux with-redux-app
# or
pnpm create next-app -- --example with-redux with-redux-app
Deploy it to the cloud with Vercel (Documentation).