Lissome.Render (Lissome v0.2.0)

View Source

Summary

Functions

Renders a lustre app in client side.

Functions

render_lustre(module_name, target_id, flags)

Renders a lustre app in client side.

This function just renders the root container and the script tags necessary to mount the app.

ssr_lustre(module_name, init_fn, view_fn, target_id, flags)

Renders a lustre app in server side.

This function will call the init_fn function to get the initial model and then the view_fn function to get the initial view.