Closed DhyeyMoliya closed 3 years ago
Can there be a functionality to redirect to another route on fallback condition (like "/" page or /404 something?).
"/"
/404
I am asking because on fallback, the url stays the same and the content get rendered. But can we do something like redirect to /404.
<Route path="/"> <Home /> </Route> <Route fallback redirect="/">
Thanks! This was a missed feature I added now
Can there be a functionality to redirect to another route on fallback condition (like
"/"
page or/404
something?).I am asking because on fallback, the url stays the same and the content get rendered. But can we do something like redirect to
/404
.