https://github.com/chocoscoding/shoppay3
https://github.com/chocoscoding/shoppay3
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/chocoscoding/shoppay3
- Owner: chocoscoding
- Created: 2024-11-29T15:37:52.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-29T17:33:20.000Z (over 1 year ago)
- Last Synced: 2024-11-29T18:28:34.646Z (over 1 year ago)
- Language: TypeScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- 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).
**Redux Toolkit**(also known as "RTK" for short) provides a standardized way to write Redux logic. It includes utilities that help simplify many common use cases, including [store setup](https://redux-toolkit.js.org/api/configureStore), [creating reducers and writing immutable update logic](https://redux-toolkit.js.org/api/createreducer), and even [creating entire "slices" of state at once](https://redux-toolkit.js.org/api/createslice). This example showcases each of these features in conjunction 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)).