Expand description
Route component inventory management for incremental route rendering.
These helpers walk the normal render fragment graph. The request-aware path is
route-aware but state-agnostic: it follows the active route chain for the
current request path, while conservatively traversing if, for, and
attribute-template edges without evaluating runtime state.
Structs§
- Partial
Navigation - A serializable navigation response with projected state and route-match status.
- Protocol
- A decoded protocol with reusable deterministic indices.
- Route
Chain Entry - A single entry in the matched route chain, one per nesting level.
Functions§
- collect_
nested_ route_ params - Walk the fragment graph following matched routes and collect all route parameters from every level of the active route chain.
- encode_
inventory - Encode an inventory bitfield as a hex string.
- filter_
needed_ components - Filter components against the client’s inventory bitfield using sequential indices. Zero collisions — each component has a unique bit.
- get_
needed_ components - Walk the protocol fragment graph from
entry_idand return the names of all components the route needs that are NOT in the client’s inventory. - parse_
inventory - Parse a hex-encoded inventory string into bytes.