There are times where I have to bootstrap the state of a view. I usually do the
onAppear with custom guards when, say, said view could be covered by child sheet (where dismissing the sheet would trigger
Another one that I have considered, but not yet tried is to use a
if !viewState.isBooted in a
View and present a view that accepts a callback that is called in that view's
onAppear, change the
isBooted in the reducer and then not show that view anymore.
I wonder if there is another way to bootstrap a state without using
onAppear view's modifier.