UNPKG

@tanstack/solid-router

Version:

Modern and scalable routing for Solid applications

7 lines 253 B
import { useRouterState } from './useRouterState'; export function useLocation(opts) { return useRouterState({ select: (state) => opts?.select ? opts.select(state.location) : state.location, }); } //# sourceMappingURL=useLocation.jsx.map