Skip to main content

useNavigate

useNavigate(): NavigateFunction

Returns an imperative method for changing the location. Used by <Link>s, but
may also be used by other elements to change the location.

Properties

This element is often used without passing props