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

Router

Provides location context for the rest of the app.

Note: You usually won't render a directly. Instead, you'll render a router that is more specific to your environment such as a in web browsers or a for server rendering.

function Router({ basename: basenameProp, children, location: locationProp, navigationType, navigator, static: staticProp }: RouterProps): React.ReactElement | null;
§
Router({ basename: basenameProp, children, location: locationProp, navigationType, navigator, static: staticProp }: RouterProps): React.ReactElement | null
[src]

§Parameters

§
{ basename: basenameProp, children, location: locationProp, navigationType, navigator, static: staticProp }: RouterProps
[src]

§Return Type

§
React.ReactElement | null
[src]