Re:Things I wish I knew about state management when I starte...
by pier25 on Monday February 10, 2020 @06:25PM
(#22294506)
I agree it's better if the implementation of, say, the API is not done in actions.
Although I do not agree actions should be responsible for triggering application logic. It is a very popular pattern indeed, and I've used myself a number of times, but my code makes a lot more sense now that store(s) are only responsible for state management.
Although I do not agree actions should be responsible for triggering application logic. It is a very popular pattern indeed, and I've used myself a number of times, but my code makes a lot more sense now that store(s) are only responsible for state management.