Skip to content

Commit fe1b1f5

Browse files
authored
Merge pull request reduxjs#4053 from AaronPowell96/master
Former-commit-id: 2e9a2d4
2 parents c9434d4 + d4b36d3 commit fe1b1f5

13 files changed

+10
-13
lines changed

docs/FAQ.md.REMOVED.git-id

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9535af958b9260218c624e0b9dc86d215d9bb3a1
1+
20a9916416c3048146df324e1a65b75259b2dc58

docs/api/createStore.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ console.log(store.getState())
5050

5151
- Don't create more than one store in an application! Instead, use [`combineReducers`](combineReducers.md) to create a single root reducer out of many.
5252

53-
- It is up to you to choose the state format. You can use plain objects or something like [Immutable](https://facebook.github.io/immutable-js/). If you're not sure, start with plain objects.
53+
- Redux state is normally plain JS objects and arrays.
5454

5555
- If your state is a plain object, make sure you never mutate it! For example, instead of returning something like `Object.assign(state, newData)` from your reducers, return `Object.assign({}, state, newData)`. This way you don't override the previous `state`. You can also write `return { ...state, ...newData }` if you enable the [object spread operator proposal](../recipes/UsingObjectSpreadOperator.md).
5656

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e5d440a791f50cfc28e9671c4f224fa63463e396
1+
317255da7b781494f81574efe6869eaab6d0feee

docs/faq/ReactRedux.md.REMOVED.git-id

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e9eac838bd0f17ca2feb82650030617ccc7ae47e
1+
06b05e5eae4377fb2227eaa609d5c60721353821
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c7698eaed0f467d4070286da20b766ef88605331
1+
f051e7a84e711c9d78b2d67b6083591c83a17774

docs/recipes/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ These are some use cases and code snippets to get you started with Redux in a re
1818
- [Computing Derived Data](ComputingDerivedData.md)
1919
- [Implementing Undo History](ImplementingUndoHistory.md)
2020
- [Isolating Redux Sub-Apps](IsolatingSubapps.md)
21-
- [Using Immutable.JS with Redux](UsingImmutableJS.md)
2221
- [Code Splitting](CodeSplitting.md)
2322
- [Troubleshooting](Troubleshooting.md)
2423
- [Structuring Reducers](structuring-reducers/StructuringReducers.md)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3607f5b4607aef55bfefbd78b3b50ec124a21385
1+
bd57e5a5777b4bf97ae328a266a7694c245b3f92

docs/recipes/UsingImmutableJS.md.REMOVED.git-id

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
832e2a407ad19f3f89091705f9859f4c4ba712d4
1+
641adcc7db496e7b7519430e51e3bae9f71856b6

docs/recipes/structuring-reducers/StructuringReducers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ It is vital that these Prerequisite Concepts are **thoroughly understood** befor
2121

2222
#### [Prerequisite Concepts](PrerequisiteConcepts.md)
2323

24-
It's also important to note that some of these suggestions may or may not be directly applicable based on architectural decisions in a specific application. For example, an application using Immutable.js Maps to store data would likely have its reducer logic structured at least somewhat differently than an application using plain Javascript objects. This documentation primarily assumes use of plain Javascript objects, but many of the principles would still apply if using other tools.
24+
Standard Redux architecture relies on using plain JS objects and arrays for your state. If you're using an alternate approach for some reason, the details may differ based on your approach, but many of the principles will still apply.
2525

2626
### Reducer Concepts and Techniques
2727

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
59fced569bf3a88c0124e18076da2fbb6fd1efe2
1+
d78d22877ce644f67b6f2178c2a924b166902ea9

website/_redirects.REMOVED.git-id

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
142583e9808b135ebfd31dab6cc0698e0104f5fe
1+
44dadac6b9caf79ee379dac4009668671fcd90ca

website/sidebars.js

-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ module.exports = {
4949
'recipes/computing-derived-data',
5050
'recipes/implementing-undo-history',
5151
'recipes/isolating-redux-sub-apps',
52-
'recipes/using-immutablejs-with-redux',
5352
'recipes/code-splitting',
5453
'recipes/troubleshooting',
5554
{

0 commit comments

Comments
 (0)