Answer the question
In order to leave comments, you need to log in
Why is the route not being processed in React Router?
hello there
is a code
const routes = [
{
path: "/testusers",
component: Users,
routes: [
{
path: "/testusers/user",
component: user
},
]
}
];
<Link to="/testusers/user">User</Link>
const routes = [
{
path: "/test#users",
component: Users,
routes: [
{
path: "/test#users/user",
component: user
},
]
}
];
<Link to="/test#users/user">User</Link>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question