Sometimes a component should have a stateful location status.
Can we provide a way to mock the state, without calling the navigate funcition?
// To simulate this navigation
navigate("/inner", { state: "123" })
// We can config state for first page
parameters: {
reactRouter: {
path: "/inner",
routeState: "123"
}
}
Sometimes a component should have a stateful location status.
Can we provide a way to mock the state, without calling the navigate funcition?