Join Slack
Powered by
Hi, is it necessary to have atleast 1 state for a ...
# orbit-mvi
h
Hitesh Chopra
03/19/2022, 1:18 PM
Hi, is it necessary to have atleast 1 state for a viewmodel?
a
appmattus
03/19/2022, 7:45 PM
If you only have side effects you can use
Unit
as the state. Likewise if you only have state and no side effects you can use
Unit
or
Nothing
for side effect
🙏 2
11
Views
Open in Slack
Previous
Next