We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e08e16 commit 3443100Copy full SHA for 3443100
static/app/utils/useNavigate.tsx
@@ -8,6 +8,12 @@ type NavigateOptions = {
8
state?: any;
9
};
10
11
+/**
12
+ * Returns an imperative method for changing the location. Used by `<Link>`s, but
13
+ * may also be used by other elements to change the location.
14
+ *
15
+ * @see https://reactrouter.com/hooks/use-navigate
16
+ */
17
export function useNavigate() {
18
const route = useRouteContext();
19
0 commit comments