Fixes Trying to move the initial state setup before onAppear to fix the watchOS switching url or any other state issue #316 This solve a issue in history when sometimes SwiftUI does not trigger the onAppear and cause state error, like #312 #314