Skip to main content
11 events
when toggle format what by license comment
Sep 25, 2022 at 20:55 history edited Peter Mortensen CC BY-SA 4.0
Dressed the naked link. Removed historical information (that is what the revision history is for)—the answer should be as if it was written right now. Removed meta information (this belongs in comments).
Sep 19, 2022 at 11:37 comment added ColdHands Is there any api docs on Navigate and replace? It seems that i should have stopped with the docs, but somehow ended here.
Jun 16, 2022 at 18:00 comment added RodolfoSilva @KashifAli in that case, you should replace the Navigation componet with you custom Not Found screen. I don't think you will be able to have both using a wildcard path. But you can use a Nested approach to limit when the user should be redirected inside some path.
Jun 16, 2022 at 14:25 comment added Kashif Ali @RodolfoSilva but what if we also want to add a NotFound Page than what path we will add to the NotFound ?
May 11, 2022 at 10:46 comment added Neil Worth noting that this has no SSR support for static routing 👍🏻
Apr 24, 2022 at 8:52 comment added Douglas Gaskell What if / is a parent route to those others? How do you prevent / itself from being a route that can be navigated to? And instead redirect / to say /home when home is a child under /?
Mar 18, 2022 at 18:41 history edited RodolfoSilva CC BY-SA 4.0
add replace prop, suggested by @Paul
Feb 10, 2022 at 6:56 comment added totymedli If you want to redirect outside react components or without hooks, check out this answer.
Nov 7, 2021 at 23:48 vote accept Hongbo Miao
Nov 7, 2021 at 15:41 vote accept Hongbo Miao
Nov 7, 2021 at 15:41
Nov 7, 2021 at 13:05 history answered RodolfoSilva CC BY-SA 4.0