Skip to content

useRouteProps

Overview

Returns a computed ref containing the resolved props for the first matched route. Supports both object and function prop definitions.

Signature

useRouteProps()

Returns

ComputedRef

A computed ref of the resolved route props.

Source

client/lib/use/useRouteProps.js:15

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2