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.
§
Navigate({ to, replace, state, relative }: NavigateProps): null
[src]§Parameters
§
{ to, replace, state, relative }: NavigateProps
[src]