react-redux-starter-kit
react-redux-starter-kit copied to clipboard
Multiple paths to a route
Guys,
Can a route have multiple paths? For example, I want 'test/:id' and 'test/blahblah/:name/:id' to go to the same page and have the same code executed.
` export default { path: '/test/:id', path: '/test/blahblah/:name/:id',
async action({ params }) { return { title: 'Test', component: <Test params={params} />, }; }, }; `