Skip to content

Compositions: useParam ​

ts
const useParam: RouterAssets<RegisteredRouter>["useParam"];

Reads param values by definition as readonly computed refs that follow the current route. Returns undefined and an empty array when the definition has no present values.