Skip to content

Commit 9be553a

Browse files
authored
Merge pull request #4447 from mariussd/patch-1
2 parents 7b3f769 + 4113943 commit 9be553a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/style-guide/style-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Use of static typing does make this kind of code safer and somewhat more accepta
232232

233233
### Name State Slices Based On the Stored Data
234234

235-
As mentioned in [Reducers Should Own the State Shape ](#reducers-should-own-the-state-shape), the standard approach for splitting reducer logic is based on "slices" of state. Correspondingly, `combineReducers` is the standard function for joining those slice reducers into a larger reducer function.
235+
As mentioned in [Reducers Should Own the State Shape](#reducers-should-own-the-state-shape), the standard approach for splitting reducer logic is based on "slices" of state. Correspondingly, `combineReducers` is the standard function for joining those slice reducers into a larger reducer function.
236236

237237
The key names in the object passed to `combineReducers` will define the names of the keys in the resulting state object. Be sure to name these keys after the data that is kept inside, and avoid use of the word "reducer" in the key names. Your object should look like `{users: {}, posts: {}}`, rather than `{usersReducer: {}, postsReducer: {}}`.
238238

0 commit comments

Comments
 (0)