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