()
| 82 | export const useLocation = () => useLocationFromRouter(useRouter()); |
| 83 | |
| 84 | export const useSearch = () => { |
| 85 | const router = useRouter(); |
| 86 | return sanitizeSearch(router.searchHook(router)); |
| 87 | }; |
| 88 | |
| 89 | export const matchRoute = (parser, route, path, loose) => { |
| 90 | // if the input is a regexp, skip parsing |
searching dependent graphs…