A reducer transforms state and does it synchronously. If you need to run any other sort of code in a similar vein you use an effect, and this could be anything that does not affect state.
No comments:
Post a Comment