Skip to content

Commit

Permalink
fix($docs): react-native
Browse files Browse the repository at this point in the history
  • Loading branch information
faceyspacey committed Jun 14, 2017
1 parent 3a07712 commit 0a6e831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/react-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ In addition, the NavigationHelpers are patched to tag dispatched actions with a
`navKey`. That code is both interesting and easy to understand.

The more complex part is how regular Redux-First Router actions are converted
to "Navigation Actions" and vice versa. I.e. if a regular React Navigation action is received by the middleware, it converts it to one Redux-First Router understands. And if a Redux-First Router action is received, it converts it to one methods like `getStateForAction` can understand. This works in conjunection with how your `getStateForAction` method is overriden in the `patchNavigators.js` file.
to "Navigation Actions" and vice versa. I.e. if a regular React Navigation action is received by the middleware, it converts it to one Redux-First Router understands. And if a Redux-First Router action is received, it converts it to one methods like `getStateForAction` can understand. This works in conjunction with how your `getStateForAction` method is overriden in the `patchNavigators.js` file.

> Understanding that code requires first understanding the code in this repo, particularly the middleware in `connectRoutes.js`.
Expand Down

0 comments on commit 0a6e831

Please sign in to comment.