If you treat rendering the UI like a pure side-eff...
# compose
s
If you treat rendering the UI like a pure side-effect, then having
Unit
-returning functions is ok. Maybe not ideal for some situations, but I wouldn’t call this a failure. 🙂