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
* Migrate website to Docusaurus 2
* Tweak styling to better match original site
- Shrank padding and border radius for code snippets
- Made category chevrons closed=right and open=down
- Added transition for category chevrons
- Forced links in code snippets to inherit link color
* Restructure index page sales pitch content based on RTK layout
Co-authored-by: Mark Erikson <[email protected]>
Redux is a predictable state container for JavaScript apps.
3
+
Redux is a predictable state container for JavaScript apps.
4
4
(Not to be confused with a WordPress framework – [Redux Framework](https://reduxframework.com/).)
5
5
6
6
It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of that, it provides a great developer experience, such as [live code editing combined with a time traveling debugger](https://github.com/reduxjs/redux-devtools).
7
7
8
-
You can use Redux together with [React](https://reactjs.org), or with any other view library.
8
+
You can use Redux together with [React](https://reactjs.org), or with any other view library.
9
9
It is tiny (2kB, including dependencies).
10
10
11
11
> **Note**: We are currently planning a rewrite of the Redux docs. Please take some time to **[fill out this survey on what content is most important in a docs site](https://docs.google.com/forms/d/e/1FAIpQLSfzIkY3fXZ8PrQKScYMK0YoEgALfAK2qQ0mOj1_ibKv2qDTuQ/viewform)**. Thanks!
@@ -85,7 +85,7 @@ Dan Abramov (author of Redux) wrote Redux while working on his React Europe talk
85
85
86
86
## Influences
87
87
88
-
Redux evolves the ideas of [Flux](http://facebook.github.io/flux/), but avoids its complexity by taking cues from [Elm](https://github.com/evancz/elm-architecture-tutorial/).
88
+
Redux evolves the ideas of [Flux](http://facebook.github.io/flux/), but avoids its complexity by taking cues from [Elm](https://github.com/evancz/elm-architecture-tutorial/).
89
89
Even if you haven't used Flux or Elm, Redux only takes a few minutes to get started with.
90
90
91
91
## Installation
@@ -119,8 +119,8 @@ Note that unlike Redux itself, many packages in the Redux ecosystem don't provid
119
119
120
120
## The Gist
121
121
122
-
The whole state of your app is stored in an object tree inside a single _store_.
123
-
The only way to change the state tree is to emit an _action_, an object describing what happened.
122
+
The whole state of your app is stored in an object tree inside a single _store_.
123
+
The only way to change the state tree is to emit an _action_, an object describing what happened.
124
124
To specify how the actions transform the state tree, you write pure _reducers_.
125
125
126
126
That's it!
@@ -185,19 +185,19 @@ This architecture might seem like an overkill for a counter app, but the beauty
185
185
186
186
**[Getting Started with Redux](https://egghead.io/series/getting-started-with-redux)** is a video course consisting of 30 videos narrated by [Dan Abramov](https://twitter.com/dan_abramov), author of Redux. It is designed to complement the “Basics” part of the docs while bringing additional insights about immutability, testing, Redux best practices, and using Redux with React. **This course is free and will always be.**
187
187
188
-
> [“Great course on egghead.io by @dan_abramov - instead of just showing you how to use #redux, it also shows how and why redux was built!”](https://twitter.com/sandrinodm/status/670548531422326785)
188
+
> [“Great course on egghead.io by @dan_abramov - instead of just showing you how to use #redux, it also shows how and why redux was built!”](https://twitter.com/sandrinodm/status/670548531422326785)
189
189
> Sandrino Di Mattia
190
190
191
-
> [“Plowing through @dan_abramov 'Getting Started with Redux' - its amazing how much simpler concepts get with video.”](https://twitter.com/chrisdhanaraj/status/670328025553219584)
191
+
> [“Plowing through @dan_abramov 'Getting Started with Redux' - its amazing how much simpler concepts get with video.”](https://twitter.com/chrisdhanaraj/status/670328025553219584)
192
192
> Chris Dhanaraj
193
193
194
-
> [“This video series on Redux by @dan_abramov on @eggheadio is spectacular!”](https://twitter.com/eddiezane/status/670333133242408960)
194
+
> [“This video series on Redux by @dan_abramov on @eggheadio is spectacular!”](https://twitter.com/eddiezane/status/670333133242408960)
195
195
> Eddie Zaneski
196
196
197
-
> [“Come for the name hype. Stay for the rock solid fundamentals. (Thanks, and great job @dan_abramov and @eggheadio!)”](https://twitter.com/danott/status/669909126554607617)
197
+
> [“Come for the name hype. Stay for the rock solid fundamentals. (Thanks, and great job @dan_abramov and @eggheadio!)”](https://twitter.com/danott/status/669909126554607617)
198
198
> Dan
199
199
200
-
> [“This series of videos on Redux by @dan_abramov is repeatedly blowing my mind - gunna do some serious refactoring”](https://twitter.com/gelatindesign/status/669658358643892224)
200
+
> [“This series of videos on Redux by @dan_abramov is repeatedly blowing my mind - gunna do some serious refactoring”](https://twitter.com/gelatindesign/status/669658358643892224)
201
201
> Laurence Roberts
202
202
203
203
So, what are you waiting for?
@@ -274,13 +274,13 @@ If you're new to the NPM ecosystem and have troubles getting a project up and ru
274
274
275
275
## Testimonials
276
276
277
-
> [“Love what you're doing with Redux”](https://twitter.com/jingc/status/616608251463909376)
277
+
> [“Love what you're doing with Redux”](https://twitter.com/jingc/status/616608251463909376)
278
278
> Jing Chen, creator of Flux
279
279
280
-
> [“I asked for comments on Redux in FB's internal JS discussion group, and it was universally praised. Really awesome work.”](https://twitter.com/fisherwebdev/status/616286955693682688)
280
+
> [“I asked for comments on Redux in FB's internal JS discussion group, and it was universally praised. Really awesome work.”](https://twitter.com/fisherwebdev/status/616286955693682688)
281
281
> Bill Fisher, author of Flux documentation
282
282
283
-
> [“It's cool that you are inventing a better Flux by not doing Flux at all.”](https://twitter.com/andrestaltz/status/616271392930201604)
283
+
> [“It's cool that you are inventing a better Flux by not doing Flux at all.”](https://twitter.com/andrestaltz/status/616271392930201604)
284
284
> André Staltz, creator of Cycle
285
285
286
286
## Thanks
@@ -304,12 +304,12 @@ You can find the official logo [on GitHub](https://github.com/reduxjs/redux/tree
304
304
305
305
## Change Log
306
306
307
-
This project adheres to [Semantic Versioning](http://semver.org/).
307
+
This project adheres to [Semantic Versioning](http://semver.org/).
308
308
Every release, along with the migration instructions, is documented on the GitHub [Releases](https://github.com/reduxjs/redux/releases) page.
309
309
310
310
## Patrons
311
311
312
-
The work on Redux was [funded by the community](https://www.patreon.com/reactdx).
312
+
The work on Redux was [funded by the community](https://www.patreon.com/reactdx).
313
313
Meet some of the outstanding companies that made it possible:
0 commit comments