Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

routerContext.tsx

6 lines185 Bytes

1import * as Solid from 'solid-js'
2import type { AnyRouter } from '@tanstack/router-core'
3​
4export const routerContext = Solid.createContext<AnyRouter>(
5 null as unknown as AnyRouter,
6)