Check if cityId points at a real resource (React Router Dom / Not Next.js)
Unanswered
Bumble bee posted this in #help-forum
Bumble beeOP
const router = createBrowserRouter([
{
path: '/',
element: <App />
},
{
path: '/cities/:cityId',
element: <App displayActivities />
}
])
I would like to check if the route really points at a real resource.