Skip to content

useShellNav

function useShellNav(options?): (path, params?) => void;

Defined in: src/ui/shell.tsx:134

In-app navigation for the shell: go(path, params?) consults the nav guard (a view with unsaved edits can veto the move), carries the sticky params over, then applies params ("" removes one).

Parameter Type
options? UseShellNavOptions

(path, params?) => void