html_of_jsx is an implementation of JSX focused only to render HTML on the server, without React or any other library. It's a simple library (and a ppx) that allows you to write HTML in a declarative manner using the component model.
This library was born from server-reason-react, extracted and simplified to work with HTML5.
opan install html_of_jsx
(libraries html_of_jsx)
(preprocess (pps html_of_jsx.ppx))
Jsx
module that exposes some helpers to construct elements and Html_of_jsx
to render them, the rest are functions with labelled arguments.
className
, no htmlFor
, no onChange
, etc...), just plain HTML5htmx
page)See the features
page for all details