Your app state struct needs to conform to the StateType protocol, currently this is just a marker protocol, but we will likely add requirements (such as the ability to serialize the state) before v1.0.

If you are including SwiftRouter in your project, your app state needs to conform to the HasNavigationState protocol. This means you need to add a property called navigationState to your state struct. This is the sub-state the router will use to store the current route.