Skip to content

Commit 47acb22

Browse files
authored
Update CodeStructure.md (reduxjs#3877)
1 parent cccca7b commit 47acb22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/faq/CodeStructure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Since Redux is just a data store library, it has no direct opinion on how your p
2525

2626
It's generally suggested that selectors are defined alongside reducers and exported, and then reused elsewhere (such as in `mapStateToProps` functions, in async action creators, or sagas) to colocate all the code that knows about the actual shape of the state tree in the reducer files.
2727

28-
While it ultimately doesn't matter how you lay out your code on disk, it's important to remember that actions and reducers shouldn't be considered in isolation. It's entirely possible (and encouraged) for a reducer defined in one folder to respond to an action defined in another folder.
28+
While it ultimately doesn't matter how you lay out your code on disk, it's important to remember that actions and reducers should be considered in isolation. It's entirely possible (and encouraged) for a reducer defined in one folder to respond to an action defined in another folder.
2929

3030
#### Further information
3131

0 commit comments

Comments
 (0)