package html_of_jsx

  1. Overview
  2. Docs
Render HTML with JSX

Install

dune-project
 Dependency

Authors

Maintainers

Sources

html_of_jsx-0.0.7.tbz
sha256=83b5437638815bb3d9c152a31f2125fda1989d6fc7d86774fbbfa4c90d0d8ea8
sha512=8c1f72403083b714beac9bf0676e0e3d2fef7a7b6891a9ae9d40487ac6aa85e53fc80566be39b1623c94678c957b6da8c772fe36ccc5e8d3a9a74bb5d471fe93

doc/htmx.html

Enable Htmx attributes

(Experimental)

Support htmx properties as attributes in all HTML elements

Enable the htmx mode

Adding the -htmx flag into the ppx

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

Example

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

The htmx attributes are scoped with the prefix hx_