In my parent view:
WithViewStore(self.store, observe: { $0 }) { store in
// my giant view ...
// I want to use a var/func but this need the `store`
counterView(store: store) // <= how to declare the func?
}
// is there shorter way to do this? This works but the ViewStore<...> part
// is not easy to know
func counterView(store: ViewStore<CounterFeature.State, CounterFeature.Action>) -> some View {
// make my view here that reference `store`
}