-
Hi, still trying to migrate RR library -> RR Framework. Seems like i fixed most of issues and app seems to work in
which come from warning(
parentRoute || matches != null,
`No routes matched location "${location.pathname}${location.search}${location.hash}"` // location.pathname is /app
); How to fix this? It's working fine on the dev. Maybe i have to run I'm trying to do: My config: export default {
appDirectory: "src",
ssr: false,
async prerender() {
return ["/"];
},
} satisfies Config; my Routes: export default [
route("/", "./features/landing-page/components/LandingPage.tsx"),
route("/app", "./pages/App.tsx", [
route("book", "./layouts/BookContainerLayout/BookContainerLayout.tsx", [
route(
"page/:uuid",
"./layouts/MainContainerLayout/MainContainerLayout.tsx"
),
]),
]), my build output:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
updated React-router and solved this. Also wrote article about solving problems i faced during painful migration to React-router framework https://philrich.dev/react-router-migration/ |
Beta Was this translation helpful? Give feedback.
updated React-router and solved this. Also wrote article about solving problems i faced during painful migration to React-router framework https://philrich.dev/react-router-migration/