Skip to content

use/useRouteProps ​

Overview ​

Returns a computed ref of the resolved route props for the first matched route, supporting both object and function prop definitions.

Methods ​

  • useRouteProps - Returns a computed ref containing the resolved props for the first matched route.

Source ​

client/lib/use/useRouteProps.js:1