Pop the last item from the navigation stack.
Push an item to the navigation stack.
The item that should be pushed to the stack.
Replace the nav stack with an updated version using the new schema.
Reset the navigation stack to its initial state, this will remove all but the initial stack item.
Use useDocExplorerActions and useDocExplorer hooks instead.
useDocExplorerActions
useDocExplorer
Pop the last item from the navigation stack.