Chris Bowdon ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ช๐Ÿ‡บ is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Chris Bowdon ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ช๐Ÿ‡บ @cbowdon

Stage 0: Wow this looks elegant!

Stage 1: Wait do async actions *need* to be that complex? The complexity has just been moved around.

Stage 2: They do. Oh well, still better than without it.

ยท Amaroq ยท 0 ยท 1

@cbowdon I stumbled upon a problem in Android development (there are more problems with view than in the web) at work couple of months ago when state could be modified by both DB and view. I couldn't solve it for a long time but finally found a solution with Redux-ish way. Not ideomatical Rx but works nice. Still I don't like that state is "mutable" and not defined by a function.
What I wanted to say that it's quite nice way to manage state.

@charlag I quite like Redux now, but don't feel like it's the perfect solution.