pub fn render_partial(
protocol_bytes: &[u8],
state_json: &str,
entry_id: &str,
request_path: &str,
inventory_hex: &str,
) -> Result<String, JsValue>Expand description
Produce a complete JSON partial response for client-side navigation.
Combines application state, route templates, inventory, request path, and
matched route chain into a single JSON string:
{"state":{...},"templates":[...],"inventory":"...","path":"...","chain":[...]}.
Host servers return this directly - no assembly required.