Method UseMatches
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
UseMatches()
Returns every route matched by the current location, parent first, each with the loader data and
Handle it carries: React Router's useMatches.
public static IReadOnlyList<UiMatch> UseMatches()
Returns
- IReadOnlyList<UiMatch>
Exceptions
- InvalidOperationException
No
V.RouterProvideris mounted above the caller.