API Reference liveview_react v#1.0.0

Copy Markdown View Source

Modules

Phoenix function components for rendering React roots in LiveView.

Protocol for encoding values to JSON for LiveViewReact.

Normalizes Phoenix.HTML.Form values for React clients.

Encodes LiveViewReact patch operations into the compact wire format used by data-props-diff and data-streams-diff.

A behaviour for rendering React components server-side.

Implements SSR by using NodeJS package.

Raised when server-side rendering is requested but its infrastructure is unavailable.

Raised when an SSR request is invalid or a configured renderer fails.

Implements SSR by making a POST request to http://{:vite_host}/ssr_render.

Helpers for inspecting LiveViewReact roots in rendered LiveView HTML.

Mix Tasks

Installs LiveViewReact into a Phoenix application.