react icon indicating copy to clipboard operation
react copied to clipboard

Mark Link Component for nested route

Open Rastraponovich opened this issue 1 year ago • 0 comments

Component <Link> doesn't know about the nested route.

When it is necessary to mark a nested route from the main one.

`const router = useRouter(); const path = useUnit(router.$path);

const isNested = path.includes(nestedPath)`

maybe there is a more elegant way?

Rastraponovich avatar Jan 22 '24 08:01 Rastraponovich