Skip to content

Commit 1e5c7a0

Browse files
authored
Merge pull request #3422 from reduxjs/getting-started-update
2 parents 627572a + 239e324 commit 1e5c7a0

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

docs/introduction/getting-started.md

+14-6
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,26 @@ you make your Redux code better.
3232

3333
## Installation
3434

35-
### Using Create React App
35+
### Create a React Redux App
3636

37-
The recommended way to start new apps with React and Redux is by using the [official Redux+JS template](https://github.com/reduxjs/cra-template-redux) or [Redux+TS template](https://github.com/reduxjs/cra-template-redux-typescript) for [Create React App](https://github.com/facebook/create-react-app), which takes advantage of **[Redux Toolkit](https://redux-toolkit.js.org/)** and React Redux's integration with React components.
37+
The recommended way to start new apps with React and Redux is by using [our official Redux+TS template for Vite](https://github.com/reduxjs/redux-templates), or by creating a new Next.js project using [Next's `with-redux` template](https://github.com/vercel/next.js/tree/canary/examples/with-redux).
38+
39+
Both of these already have Redux Toolkit and React-Redux configured appropriately for that build tool, and come with a small example app that demonstrates how to use several of Redux Toolkit's features.
3840

3941
```bash
40-
# Redux + Plain JS template
41-
npx create-react-app my-app --template redux
42+
# Vite with our Redux+TS template
43+
# (using the `degit` tool to clone and extract the template)
44+
npx degit reduxjs/redux-templates/packages/vite-template-redux my-app
4245

43-
# Redux + TypeScript template
44-
npx create-react-app my-app --template redux-typescript
46+
# Next.js using the `with-redux` template
47+
npx create-next-app --example with-redux my-app
4548
```
4649

50+
We do not currently have official React Native templates, but recommend these templates for standard React Native and for Expo:
51+
52+
- https://github.com/rahsheen/react-native-template-redux-typescript
53+
- https://github.com/rahsheen/expo-template-redux-typescript
54+
4755
### An Existing App
4856

4957
Redux Toolkit is available as a package on NPM for use with a module bundler or in a Node application:

0 commit comments

Comments
 (0)