UNPKG

expo-router

Version:

Expo Router is a file-based router for React Native and web applications.

5 lines (4 loc) • 167 B
/** * React hook which returns the latest callback without changing the reference. */ export default function useLatestCallback<T extends Function>(callback: T): T;