Returns the current Navigation
action which describes how the router
came to the current Location
, either by a pop, push, or replace on
the History
stack.
function useNavigationType(): NavigationType
The current NavigationType
("POP"
, "PUSH"
, or "REPLACE"
)