pub fn render_page(
registry: &Arc<ComponentRegistry>,
name: &str,
params: Params,
) -> Result<String, LivewireError>Expand description
Mounts name as a page and returns the markup the route answers with.
§Errors
Fails when the component is not registered, when its mount fails, or when its view renders no single root element — the same failures an embedded mount reports.