Skip to content

Commit c24b5ac

Browse files
committed
Merge branch 'master' of https://github.com/reduxjs/react-redux into feature/9.0-react-native
2 parents 97a7b16 + e215baa commit c24b5ac

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

README.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# React Redux
22

3-
Official React bindings for [Redux](https://github.com/reduxjs/redux).
3+
Official React bindings for [Redux](https://github.com/reduxjs/redux).
44
Performant and flexible.
55

66
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/reduxjs/react-redux/test.yml?style=flat-square) [![npm version](https://img.shields.io/npm/v/react-redux.svg?style=flat-square)](https://www.npmjs.com/package/react-redux)
@@ -9,16 +9,19 @@ Performant and flexible.
99

1010
## Installation
1111

12-
### Using Create React App
12+
### Create a React Redux App
1313

14-
The recommended way to start new apps with React Redux is by using the [official Redux+JS/TS templates](https://github.com/reduxjs/cra-template-redux) for [Create React App](https://github.com/facebook/create-react-app), which takes advantage of [Redux Toolkit](https://redux-toolkit.js.org/).
14+
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).
1515

16-
```sh
17-
# JS
18-
npx create-react-app my-app --template redux
16+
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.
1917

20-
# TS
21-
npx create-react-app my-app --template redux-typescript
18+
```bash
19+
# Vite with our Redux+TS template
20+
# (using the `degit` tool to clone and extract the template)
21+
npx degit reduxjs/redux-templates/packages/vite-template-redux my-app
22+
23+
# Next.js using the `with-redux` template
24+
npx create-next-app --example with-redux my-app
2225
```
2326

2427
### An Existing React App

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-redux",
3-
"version": "9.0.0",
3+
"version": "9.0.1",
44
"description": "Official React bindings for Redux",
55
"keywords": [
66
"react",

website/static/css/custom.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ blockquote {
9292
background-color: var(--ifm-blockquote-color);
9393
border-left: 6px solid var(--ifm-blockquote-color-dark);
9494
border-radius: var(--ifm-global-radius);
95+
}
9596

97+
html[data-theme='dark'] blockquote code {
98+
background-color: var(--ifm-color-emphasis-800);
9699
}
97100

98101
.docusaurus-highlight-code-line {
@@ -226,4 +229,3 @@ a:visited {
226229
fill: black;
227230
stroke: black;
228231
}
229-

0 commit comments

Comments
 (0)