The Keys to Taking Control Over Your App States
One potential issue with moving the @State var to the LoadingView is that it is moving state to an optional view, which could lead to the state resetting as it leaves the view hierarchy and comes back.
One potential issue with moving the @State var to the LoadingView is that it is moving state to an optional view, which could lead to the state resetting as it leaves the view hierarchy and comes back.