You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create the Redux Essentials page, take 2 (reduxjs#3740)
* Port admonition and code block CSS from RTK site
* Restructure sidebars to add "Tutorials" section
* Add empty "Quick Start" tutorial page
* Bump Docusaurus to alpha.48
* Fix text color in admonitions
* Add blockquote styling for other pages
* Add DetailedExplanation component
* Initial Quick Start intro content
* Quick Start: add "What is Redux" and "Terms" sections
* Quick Start: add "play with app" content
* Quick Start: create nested folder and rename file
* Store setup
* Quick Start: add slice, reducer, immutability, and thunk sections
* Quick start: Add React-Redux section
* Quick start: emphasize immutability, highlight JSX
* Tweak "know more?" and explanation styles
* Fix typo and add thunk usage mention
* Bump Docusaurus to alpha.50
* Temporarily rename files to .md to work around DS bug
See facebook/docusaurus#2551
* Add border color for highlight lines
* Add code block titles and test line highlights
* Initial project setup section
* Add reducer and data flow explanations
* Tweak wording
* Link example repo and sandbox
* Update Docusaurus
* Fill out "Basic Data Flow" page
* Add additional phrasing
* Add intro and summary content for part 3
* Shrink code block file header padding
* Finish writing Part 3
* Link to Immer docs
* Add initial Part 4 content
* Finish Quick Start part 4
* Remove unnecessary uses of "just"
* Add Part 5 outline
* Update page titles
* Half of part 5
* Finish Quick Start content. Yay!!!!!!
* Clean up tutorial part 1 based on review feedback
- Reworded several explanations
- Added "Immutability" section under "concepts"
- Added data flow diagram
- Removed leftover example code block
* Add "What You've Learned" to part 1
* Rename part 5 -> 6
* Rename part 4 -> 5
* Rename part 3 -> 4
* Rename part 2 -> 3
* Add new Part 2
* Fix up TODO comments and broken links
* Swap to new dataflow diagram
* Assorted edits and link fixes
* Rename "Quick Start" to "Redux Essentials"
* Fix links and rename images
* Update example app repo/sandbox links
* Clarify random seed behavior
* Rework introduction content
- Redid "Getting Started" page by moving RTK first and removing most
of the external tutorial links,
- Added RTK to "Installation" page
- Added description and "Best Practices" phrase to style guide
- Added external links to prereq concepts
- Fixed one-way data flow image
- Added "Tutorial" link to header/footer, pointing to Essentials
* Remove unwanted colors from pagination buttons
* Emphasize recommended tutorial
* Clean up README
* Fix PR preview redirect
* Clarify "smallest amount" wording
* Try to fix redirects
Former-commit-id: af8c8ea
Copy file name to clipboardexpand all lines: docs/introduction/Installation.md
+22-2
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,33 @@ hide_title: true
7
7
8
8
# Installation
9
9
10
+
## Redux Toolkit
11
+
12
+
Redux Toolkit includes the Redux core, as well as other key packages we feel are essential for building Redux applications (such as Redux Thunk and Reselect).
13
+
14
+
It's available as a package on NPM for use with a module bundler or in a Node application:
15
+
16
+
```bash
17
+
# NPM
18
+
npm install @reduxjs/toolkit
19
+
20
+
# Yarn
21
+
yarn add @reduxjs/toolkit
22
+
```
23
+
24
+
It's also available as a UMD build, which can be loaded from [the `dist` folder on unpkg](https://unpkg.com/@reduxjs/toolkit/dist/). The UMD builds make Redux Toolkit available as a `window.RTK` global variable.
25
+
26
+
## Redux Core
27
+
10
28
To install the stable version:
11
29
12
30
```bash
31
+
# NPM
13
32
npm install redux
14
-
```
15
33
16
-
This assumes you are using [npm](https://www.npmjs.com/) as your package manager.
34
+
# Yarn
35
+
yarn add redux
36
+
```
17
37
18
38
If you're not, you can [access these files on unpkg](https://unpkg.com/redux/), download them, or point your package manager to them.
description: 'Overview of the Redux tutorial pages'
8
+
---
9
+
10
+
# Redux Tutorials Index
11
+
12
+
We have two different sets of tutorials:
13
+
14
+
- The [**Redux Essentials tutorial**](./essentials/part-1-overview-concepts) is a "top-down" tutorial that teaches how to use Redux the right way, using our latest recommended APIs and best practices.
15
+
- The [**Basic tutorial**](../basics/README.md) and [**Advanced tutorial**](../advanced/README.md) are a "bottom-up" tutorial that teaches how Redux works, starting from first principles.
16
+
17
+
:::tip
18
+
19
+
**We recommend starting with the [Redux Essentials tutorial](./essentials/part-1-overview-concepts)**, since it covers the key points you need to know about how to get started using Redux to write actual applications.
20
+
21
+
:::
22
+
23
+
:::info
24
+
25
+
While the concepts in the "Basic" and "Advanced" tutorials are still valid, those pages are some of the oldest parts of our docs. We'll be updating those tutorials soon to improve the explanations and show some patterns that are simpler and easier to use. Keep an eye out for those updates. We'll also be reorganizing our docs to make it easier to find information.
0 commit comments