Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Roberts <[email protected]>
  • Loading branch information
Nosfistis and brandonroberts authored Aug 14, 2023
1 parent 78daa40 commit 70a31e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ The demo application always calls these command methods with copies of the entit

All _command methods_ return `void` or an `Observable`.
A core principle of the _redux pattern_ is that _commands_ never return a value. They just _do things_ that have side-effects.
Thus, the action is only fired when the command is invoked, and re-subscribing to a command's returned `Observable` will not
create another action.
Thus, the action is only dispatched when the command is invoked, and re-subscribing to a command's returned `Observable` will not
dispatch another action.

Rather than expect a result from the command,
you subscribe to a _selector$_ property that reflects
Expand Down

0 comments on commit 70a31e5

Please sign in to comment.