4 Replies
other-emerald•3y ago
what exactly do you define as "the active path"?
fascinating-indigoOP•3y ago
the url pathname, https://example.com/path/name/...
I need to do something similar to isActive but outisde of a Link component
other-emerald•3y ago
something like this then?
fascinating-indigoOP•3y ago
exactly what I was looking for
i couldn't find doc for useRouter
thank you, you rock