Skip to content

API DocumentationDocs


API Documentation / routerKey

Variable: routerKey

const routerKey: InjectionKey<Router>

Internal

Allows overriding the router instance returned by useRouter in tests. r stands for router

Released under the MIT License.