./routes/invoices.tsx
./routes/invoices/$invoiceId.tsx
./routes/invoices/$invoiceId/activity.tsx
./routes/invoices/$invoiceId/activity/$activityId.tsx
All these routes will be matched to the same hierarchy that ends with $activity.tsx
- /invoices/1234/activity/5678
- /invoices/abcd/activity/efg
- /invoices/something/activity/something-else?q=aaa
- /invoices/something/activity/something-else?q=aaa&q=bbb
- /invoices/1234/activity/all
- /invoices/1234/activity/latest
- /invoices/abcd/activity/latest
- /invoices/abcd/activity/latest?q=aaa
invoiceId is abcd
activityId is efg