Skip to content

When do we use Reducers/Plain Old Structs #3269

Answered by mbrandonw
georgemp asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @georgemp, I believe this problem is best left to a plain struct with some methods/functions defined on it. And it is still completely testable as a standalone type.

It is best to leave reducers to full features of your app where actions correspond to things the user did in the UI.

Replies: 1 comment

Comment options

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