Skip to main content

use_params

Function use_params 

Source
pub fn use_params<T>() -> Memo<Result<T, ParamsError>>
where T: Params + PartialEq + Send + Sync + 'static,
Expand description

Returns the current route params, parsed into the given type, or an error.