3 ms·
Has anyone tried doing Event sourcing with a redux app? I'd be pretty interested to see the same "store" working on frontend and backend and every redux event
by andy_ppp 7y ago
Has anyone tried doing Event sourcing with a redux app?
I'd be pretty interested to see the same "store" working on frontend and backend and every redux event being queued up and (eventually) synced to the server to provide a log of what happened. Obviously this leads to building an analytics system for your product quite quickly.
- superqwert 7y agoRedux pretty much is CQRS + event sourcing, as applied using functional paradigms. A while ago I built a system that would use a React CQRS plugin and provide optimistic concurrency - allowing really fast UIs at the expense of users having to deal with failed commands if a breaking error occurs: https://github.com/MichalPaszkiewicz/cqrs-external-confirm https://github.com/MichalPaszkiewicz/cqrs-external-confirm
- Heliosmaster 7y agoSame for Re-frame in CLJS: https://github.com/Day8/re-frame https://github.com/Day8/re-frame