Skip to content

Feature reducer required in multiple places #538

Answered by tgrapperon
DavidKmn asked this question in Q&A
Discussion options

You must be logged in to vote

No, there is absolutely no issue. orderProgressReducer is a free function. It doesn't have an internal state and its whole universe is defined by its arguments, so you can reuse it as freely as the + operator with different integers.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DavidKmn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants