function useRouterimport { useRouter } from "https://deno.land/x/aleph@v0.3.0-alpha.17/framework/react/hooks.ts"; useRouter(): RouterURLuseRouter allows you to use RouterURL obeject of routing export default function App() { const { locale, pathname, pagePath, params, query } = useRouter() return <p>{pathname}</p> } ReturnsRouterURL