title |
---|
useMatch |
[MODES: framework, data, declarative]
Returns a PathMatch object if the given pattern matches the current URL.
This is useful for components that need to know "active" state, e.g.
<NavLink>
.
useMatch(pattern): undefined
[modes: framework, data, declarative]
No documentation