Skip to main content

render_inline

Function render_inline 

Source
pub fn render_inline(
    registry: &Arc<ComponentRegistry>,
    source: &'static str,
    data: &Map<String, Value>,
) -> Result<String, LivewireError>
Expand description

Renders a component view written in the component module, which has no finder.

ยงErrors

Fails when the source does not compile, or fails to render.