How to structure a large live view app?

Thanks for responding everyone. The reducer function idea from kokolegorille is exactly what I’m looking for. That will clean up A LOT of my logic.