TanStackT
TanStack2y ago
1 reply
broad-emerald

Path Params in Middle Of Route?

Can a path param be used like so: /route1/$var/add
parseParams returns type error: Property '$var' does not exist on type 'Record<never, string>'.ts(2339)


or should I be using a different route structure? My use case is four tabs used to filter a table by the $var value and provide CRUD functions for each. They use the same database table but different form fields with some overlapping fields.
Was this page helpful?