Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

useLocation

Returns the current location object, which represents the current URL in web browsers.

Note: If you're using this it may mean you're doing some of your own "routing" in your app, and we'd like to know what your use case is. We may be able to provide something higher-level to better suit your needs.

function useLocation(): Location;
§
useLocation(): Location
[src]