tschuchort
02/15/2018, 6:10 PMLoadingSuccess
or LoadingFailed
event). What happens when the activity is not attached while a LoadingFailed
event triggers an Effect
to show a toast? It will be lost because they do not queue effects. Furthermore, their architecture works only on a single level, it is not fractal. As soon as you deal with nested components like app wide state shared with services, complex views or fragments, you have to synchronize state and things start falling apart (see https://hackernoon.com/the-importance-of-state-ownership-in-elm-72f711ceb244). Compile time safety is also mostly an illusion: handling of effects can not be easily checked for exhaustion and the state machine is rarely complete which makes the reducer function actually impure through exceptions.
Maybe what I'm envisioning is simply not feasible on android