UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

13 lines (10 loc) 341 B
import {createContext} from 'sanity/_createContext' import type {RouterHistory} from '../../core/studio/router' /** * Internal use only. Userland should leverage the public `useRouter` APIs. * @internal */ export const RouterHistoryContext = createContext<RouterHistory | null>( 'sanity/_singletons/context/router-history', null, )