The approach Elm uses is every event goes through a main "router", no exceptions.
If you want to do sth special on the account page modal scroll, you issue a specific event for that, and deal with it in the same way as any other.
It is a very simple and clean model, but not complicated enough for some people :) of course it helps that with a good type system you can catch missing or incorrect cases.
If you want to do sth special on the account page modal scroll, you issue a specific event for that, and deal with it in the same way as any other.
It is a very simple and clean model, but not complicated enough for some people :) of course it helps that with a good type system you can catch missing or incorrect cases.