expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
7 lines (6 loc) • 342 B
TypeScript
import type { BrowserHistoryAdapter } from './browserHistory.types';
/**
* Connects reducer-generated history events to `window.history`. It applies commands in order and
* reports browser-initiated back, forward, and hash changes to the navigation reducer.
*/
export declare function createBrowserHistoryAdapter(): BrowserHistoryAdapter;