Join Slack
Powered by
is it safe to create a static `MutableState` outsi...
# compose
m
molikto
04/12/2020, 3:01 AM
is it safe to create a static
MutableState
outside of any composition, then this state is shared among multiple compositions? Will this leak any Composition/Context?
a
Adam Powell
04/12/2020, 5:15 AM
It's safe. Usual guidelines around static/global state apply.
Open in Slack
Previous
Next