Hello try to find any answer in this forum except mistake from me
but I would like to have the current route in ionic 5 react
do there is something include with @ionic/react-router
like useLocation ?
Hello try to find any answer in this forum except mistake from me
but I would like to have the current route in ionic 5 react
do there is something include with @ionic/react-router
like useLocation ?
Yeah, you can use useLocation
from react-router or useIonRouter
from @ionic/react
.
Both will give you the same information.