-
|
Hi, I am migrating a Remix app to React v7 and I am trying to configure routes properly. I have a page that on Remix was setup like this (file system based routing using folders) inside of loader: on RR v7 I setup the same structure like this: and now ps.: tried using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
figure out: I was confused by previous syntax and thought the route ID was based on So, instead of |
Beta Was this translation helpful? Give feedback.
figure out: I was confused by previous syntax and thought the route ID was based on
routes+ url path while it is based on file pathSo, instead of
routes/taskI should be usingroutes/task/layoutto be able to get the data :)