rsnext/examples/with-redux-toolkit
2020-08-29 22:32:35 -04:00
..
components Improve Redux Toolkit example (#12858) 2020-05-19 09:27:30 -04:00
lib Improve Redux Toolkit example (#12858) 2020-05-19 09:27:30 -04:00
pages Improve Redux Toolkit example (#12858) 2020-05-19 09:27:30 -04:00
.gitignore Added .gitignore to examples that are deployed to vercel (#15127) 2020-07-16 10:52:23 -04:00
package.json Ensure all examples are MIT licensed (#16691) 2020-08-29 22:32:35 -04:00
README.md Simplify example usage instructions (#16678) 2020-08-29 22:22:02 -04:00
store.js Improve Redux Toolkit example (#12858) 2020-05-19 09:27:30 -04:00

Redux Toolkit example

This example shows how to integrate Next.js with Redux Toolkit.

The Redux Toolkit is intended to be the standard 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 your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-redux-toolkit with-redux-toolkit-app
# or
yarn create next-app --example with-redux-toolkit with-redux-toolkit-app

Deploy it to the cloud with Vercel (Documentation).