package html_of_jsx

  1. Overview
  2. Docs
Render HTML with JSX

Install

Dune Dependency

Authors

Maintainers

Sources

html_of_jsx-0.0.4.tbz
sha256=12c49cb44a7476921d097248540e222cb412cf49a283cc20b92775e2bf2b9c39
sha512=96748d99db49817a900ce2b310d5f496cee5e96ba1c90611d204c397549e55797eb76f0952912bcfd5be17e06cf5029fb85b19417ea47ba4543103eb0536ab55

doc/htmx.html

Htmx

(Experimental)

Supports htmx properties

Add the '-htmx' flag into the ppx

(libraries html_of_jsx)
(preprocess (pps html_of_jsx.ppx -htmx))

Example

JSX.render(<div hx_boost=true />)

All attributes are supported with the prefix hx_

OCaml

Innovation. Community. Security.