Styling parent of <Link> with active state
I'd like to style a navigation that's structured like this:How do i elegantly control the
className? I was looking at comparing /foo withuseLocation().pathname but it's typed as string so maybe there's a better way.