Skip to content

Commit 99c31b2

Browse files
authored
Merge pull request reduxjs#4118 from reduxjs/docs/using-redux-reorg
Former-commit-id: 7b1c541
2 parents 47ab0dd + 8af8c3a commit 99c31b2

File tree

50 files changed

+114
-74
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+114
-74
lines changed

README.md.REMOVED.git-id

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bf3651abee6f0a1ecb2bb5843c51d0e2ff8d0240
1+
1a6d5c9650bc43149328315bd7ad22596a813729

docs/api/createStore.md

Lines changed: 1 addition & 1 deletion

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1676e0ccabd5155a477aca36168b93ad49435989
1+
d1c87c63e0d9be50a23f76531705d51a5b15544d
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
68e5060036619d3c1cdd7f4793f42c818217b08f
1+
d70144b006c612817a050f5971f05eb07ca2beeb
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
13e43361d6db028895c5953b1b63f33d172af879
1+
7b4e201b0c9d658a1f016603236d1392577527af
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ca1ffd889fb06ec211d1eccc74c4611ef6491f4e
1+
c44d4ecefb0d225cfeb76a2814895d7f311b76d0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e7f073b90acebb0c182b854548ce3c30eb702c51
1+
11e36cdf347ce16e253b22368c876830343e4cc7

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2eef37e9a0de74ad5701756c48d0d2e2d0aaa4e8
1+
d01ca9be0dcfb943fecd31a070826370ba323986

docs/faq/Reducers.md

Lines changed: 3 additions & 3 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1b07857c166ee2d5f482dc785f86db1e78433758
1+
c3ee19ddf2b5aaddf8a6a5d2e5b0836abb779b21
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f408ecdcb5cee8bfd3960c2c5eff67af3bdb5056
1+
3bfbec40e309bc1a036eb2ab1a2f6faebe853f5b

docs/recipes/README.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

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

Lines changed: 0 additions & 1 deletion
This file was deleted.

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

Lines changed: 0 additions & 1 deletion
This file was deleted.

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

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
33688654676312eafc48322e221bbaf442f9e48f
1+
0639291634172d4150107b411a8c9a4ae3757b62
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c7dbaa603b9ac36858909bfc3ae9a1f39eb1986a
1+
cf42def43076bebcf34f8f41c3289df1922cfad8
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7d5cda5cc96ac876bccd1048970e4611383fdfbe
1+
99ac1cdee89dd84a079cab5a138482b3e8cb0f67
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9f89caf9fe709a2844800c566b6a690eba836030
1+
3a709721216b1194dee4d81c4c15c90df849468b
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ae8b680d374c1eed13cf48a11a8e59cda5f4aadd
1+
8150e63aba950f043155b4bd2365ca99f6873986
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
62f8168b106b1d58182dc61bd21b550d0f6b94ac
1+
0465ac4eb6b4d17580ac3fd86fd7704d6d1bef3e
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ae48e9786f083b050361077d34def8d330f45916
1+
c02f04f85a3b33797020256a512498a60c7e60e4
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
b35af14faab075a59ba5b894e36b62d7ef62e49e
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
c8b129ab62174317119c213b5e58e0705c42fbd9
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
c19865dce9563ab3f109e56d1917806fda3f46c0

docs/usage/index.md

Lines changed: 41 additions & 0 deletions

website/_redirects.REMOVED.git-id

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
44dadac6b9caf79ee379dac4009668671fcd90ca
1+
c516c8d26180773ca2b70ba0791b96128c57fb63

website/docusaurus.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module.exports = {
3232
to: 'tutorials/essentials/part-1-overview-concepts',
3333
position: 'right'
3434
},
35+
{ label: 'Usage Guide', to: 'usage/index', position: 'right' },
3536
{ label: 'API', to: 'api/api-reference', position: 'right' },
3637
{ label: 'FAQ', to: 'faq', position: 'right' },
3738
{
@@ -61,6 +62,7 @@ module.exports = {
6162
label: 'Getting Started',
6263
to: 'introduction/getting-started'
6364
},
65+
{ label: 'Usage Guide', to: 'usage/index' },
6466
{
6567
label: 'Tutorial',
6668
to: 'tutorials/essentials/part-1-overview-concepts'

website/sidebars.js

Lines changed: 47 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -39,36 +39,56 @@ module.exports = {
3939
]
4040
}
4141
],
42-
Recipes: [
43-
'recipes/recipe-index',
44-
'recipes/configuring-your-store',
45-
'recipes/usage-with-typescript',
46-
'recipes/migrating-to-redux',
47-
'recipes/using-object-spread-operator',
48-
'recipes/reducing-boilerplate',
49-
'recipes/server-rendering',
50-
'recipes/writing-tests',
51-
'recipes/computing-derived-data',
52-
'recipes/implementing-undo-history',
53-
'recipes/isolating-redux-sub-apps',
54-
'recipes/code-splitting',
55-
'recipes/troubleshooting',
42+
'Using Redux': [
43+
'usage/index',
5644
{
5745
type: 'category',
58-
label: 'Structuring Reducers',
46+
label: 'Setup and Organization',
47+
collapsed: false,
5948
items: [
60-
'recipes/structuring-reducers/structuring-reducers',
61-
'recipes/structuring-reducers/prerequisite-concepts',
62-
'recipes/structuring-reducers/basic-reducer-structure',
63-
'recipes/structuring-reducers/splitting-reducer-logic',
64-
'recipes/structuring-reducers/refactoring-reducer-example',
65-
'recipes/structuring-reducers/using-combinereducers',
66-
'recipes/structuring-reducers/beyond-combinereducers',
67-
'recipes/structuring-reducers/normalizing-state-shape',
68-
'recipes/structuring-reducers/updating-normalized-data',
69-
'recipes/structuring-reducers/reusing-reducer-logic',
70-
'recipes/structuring-reducers/immutable-update-patterns',
71-
'recipes/structuring-reducers/initializing-state'
49+
'usage/configuring-your-store',
50+
'usage/code-splitting',
51+
'usage/server-rendering',
52+
'usage/isolating-redux-sub-apps'
53+
]
54+
},
55+
{
56+
type: 'category',
57+
label: 'Code Quality',
58+
collapsed: false,
59+
items: [
60+
'usage/usage-with-typescript',
61+
'usage/writing-tests',
62+
'usage/troubleshooting'
63+
]
64+
},
65+
{
66+
type: 'category',
67+
label: 'Redux Logic and Patterns',
68+
collapsed: false,
69+
items: [
70+
{
71+
type: 'category',
72+
label: 'Structuring Reducers',
73+
collapsed: true,
74+
items: [
75+
'usage/structuring-reducers/structuring-reducers',
76+
'usage/structuring-reducers/prerequisite-concepts',
77+
'usage/structuring-reducers/basic-reducer-structure',
78+
'usage/structuring-reducers/splitting-reducer-logic',
79+
'usage/structuring-reducers/refactoring-reducer-example',
80+
'usage/structuring-reducers/using-combinereducers',
81+
'usage/structuring-reducers/beyond-combinereducers',
82+
'usage/structuring-reducers/normalizing-state-shape',
83+
'usage/structuring-reducers/updating-normalized-data',
84+
'usage/structuring-reducers/reusing-reducer-logic',
85+
'usage/structuring-reducers/immutable-update-patterns',
86+
'usage/structuring-reducers/initializing-state'
87+
]
88+
},
89+
'usage/reducing-boilerplate',
90+
'usage/computing-derived-data',
91+
'usage/implementing-undo-history'
7292
]
7393
}
7494
],

0 commit comments

Comments
 (0)