It would be great, if we could define types for the state in the route configuration. This way, we could get typesafe `router.go()` navigation.