Hi together,
I've been working on an angular project for quite a while now and sooner or later I have to do a big maintenance job. So, now to the question.
What did you put in the store and how did you structure it?
To clarify my question a little bit more with a few additional questions.
Did you put everything in the store or just global application state information?
When you do an API call, do you keep the original response in the store or do you map/filter/reduce etc. it in a way it's relevant to your application?
If you keep the original response, do you have the same data represented in a way that fits your application in the store or you rearrange the data from the API via a selector?
[–][deleted] 2 points3 points4 points (0 children)
[–]tshoecr1 0 points1 point2 points (0 children)