Skip to main content

renderMatches

renderMatches

Framework Data Declarative

Summary

Reference Documentation ↗

Renders the result of matchRoutes into a React element.

Signature

function renderMatches(
  matches: RouteMatch[] | null,
): React.ReactElement | null

Params

matches

The array of route matches to render

Returns

A React element that renders the matched routes or null if no matches

Translation © 2026 fanyi.dev · Original © 2026 React Training LLC, Remix Software Inc., Shopify Inc. (MIT)