Typed Routes
Unanswered
Huntaway posted this in #help-forum
HuntawayOP
What’s the best way to handle slugs and optional catch all routes with typed routes it seems to always cause me issues
5 Replies
@Huntaway What’s the best way to handle slugs and optional catch all routes with typed routes it seems to always cause me issues
depends, whats your usecase/need/requirement?
Chinese Alligator
disable it
Pacific sand lance
having
/app/[slug]/..., set href to /${slug}. if necessary cast href to RouteMorelet’s Crocodile
I like "as Route" when passing a string to a link