I'm kind of new to the concept of NGRX and state management as I came from back-end development and whenever i see and heard the term state management one thing comes in my mind is CQRS.
Well, some of the articles in the internet says that it is patterned from that. My Question is.. in my angular App.
Can i do something like, fetch data from the back-end then save to local storage if not exists? so every get request will look on the local storage and every save,update delete goes directly to a REST API then update the local storage if successful result form back-end?
I've been looking around for some examples about this but i am very unfortunate on that.
Also, reason why local storage is because I'm thinking PWA as well