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

Navigate

Changes the current location.

Note: This API is mostly useful in React.Component subclasses that are not able to use hooks. In functional components, we recommend you use the useNavigate hook instead.

function Navigate({ to, replace, state, relative }: NavigateProps): null;
§
Navigate({ to, replace, state, relative }: NavigateProps): null
[src]

§Parameters

§
{ to, replace, state, relative }: NavigateProps
[src]

§Return Type