https://github.com/logustra/live-coding-creds
https://github.com/logustra/live-coding-creds
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/logustra/live-coding-creds
- Owner: logustra
- Created: 2023-11-13T09:34:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T11:21:47.000Z (over 2 years ago)
- Last Synced: 2025-01-22T20:29:47.216Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://live-coding-creds.vercel.app
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redux Toolkit TypeScript Example
This example shows how to integrate Next.js with [Redux Toolkit](https://redux-toolkit.js.org).
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 your own
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
[](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-redux&project-name=with-redux&repository-name=with-redux)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
```bash
npx create-next-app --example with-redux with-redux-app
```
```bash
yarn create next-app --example with-redux with-redux-app
```
```bash
pnpm create next-app --example with-redux with-redux-app
```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).