I'm trying to get my Mantine NavLinks to work within Remix and update their active state. I've checked https://mantine.dev/core/nav-link/#polymorphic-component but it only has the Next.js and React Router examples. I know Remix has useMatches but not sure how to incorporate it properly.
Has anyone got this working?