I'm looking for strategies about how the frontend can deal with sagas and CQRS (not event sourcing). Do any of you have some references or something to share about it?
About CQRS, I think that a version in the aggregate can help. Every command returns the new version. So the frontend can get the information using retry strategie until finding the version in the read side.
About Sagas I think that it's a little bit more complicated, maybe some kind of "server to client communication". I have some ideas but I would like to hear and read more about it.
Thanks!
( the tech stack for the backend is java/spring/rabbit/postgres and for the frontend is typescript/angular/rxjs )