Skip to main content

collect_nested_route_params

Function collect_nested_route_params 

Source
pub fn collect_nested_route_params(
    protocol: &Protocol,
    entry_id: &str,
    request_path: &str,
) -> HashMap<String, String>
Expand description

Walk the fragment graph following matched routes and collect all route parameters from every level of the active route chain.

This is used by the dev server to inject nested route params into state.