Open d9k opened 6 months ago
Can't reproduce: minimal example works fine
https://github.com/d9k/d9k-problems-examples/tree/main/deno/ultra/291-nested-path-routes
Closing issue for now.
Reproduced on https://github.com/d9k/d9k-problems-examples/tree/main/deno/ultra/291-nested-path-routes
Added component with relative import:
import { useParams } from 'react-router-dom';
import { Spinner } from "../components/spinner.tsx";
function PageNestedDemo () {
const name = useParams()['name'];
return (
<>
<h1>Nested demo page</h1>
<p>Url param :name value is "{name}"</p>
<Spinner />
</>
);
}
export default PageNestedDemo;
Then open https://localhost:8000/table/countries.
Result: multiple
errors in browser.