Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/reduxjs/react-redux into …
Browse files Browse the repository at this point in the history
…feature/9.0-react-native
  • Loading branch information
aryaemami59 committed Dec 5, 2023
2 parents 97a7b16 + e215baa commit c24b5ac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# React Redux

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

![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)
Expand All @@ -9,16 +9,19 @@ Performant and flexible.

## Installation

### Using Create React App
### Create a React Redux App

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/).
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).

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

# TS
npx create-react-app my-app --template redux-typescript
```bash
# Vite with our Redux+TS template
# (using the `degit` tool to clone and extract the template)
npx degit reduxjs/redux-templates/packages/vite-template-redux my-app

# Next.js using the `with-redux` template
npx create-next-app --example with-redux my-app
```

### An Existing React App
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-redux",
"version": "9.0.0",
"version": "9.0.1",
"description": "Official React bindings for Redux",
"keywords": [
"react",
Expand Down
4 changes: 3 additions & 1 deletion website/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ blockquote {
background-color: var(--ifm-blockquote-color);
border-left: 6px solid var(--ifm-blockquote-color-dark);
border-radius: var(--ifm-global-radius);
}

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

.docusaurus-highlight-code-line {
Expand Down Expand Up @@ -226,4 +229,3 @@ a:visited {
fill: black;
stroke: black;
}

0 comments on commit c24b5ac

Please sign in to comment.