./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/abcd/activity/efg?q=aaa
- /invoices/abcd/activity/efg?q=aaa&q=bbb
- /invoices/1234/activity/all
- /invoices/1234/activity/latest
- /invoices/1234/activity/latest
- /invoices/1234/activity/latest?q=aaa
invoiceId is something
activityId is something-else