package html_of_jsx
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=c9427679a424a5c4fa5b0547c01af15bc00960df838858c4eb3124acdca301cb
sha512=354f8168d2ab9c7e3b4821dfe01c430be80d9610e764c96259f5edfc52d47fe2e3abbc6600a1d423df8e5d4b4b4ae09637050fa430f12623a5ff07c15b8c1461
CHANGES.md.html
Changes
0.0.3
[BREAKING]
Html_of_jsx.render
lives underJSX.render
(removing theHtml_of_jsx
module entirely)[BREAKING] Module
Jsx
is turned intoJSX
[BREAKING] dune's library is now
html_of_jsx
instead of (html_of_jsx.lib
)[BREAKING]
JSX.element
is opaque (can't see the type from outside), but we have aJSX.Debug
module to inspect and re-constructJSX.element
(cc @leandro)Improved performance of
JSX.render
0.0.2
Add
Jsx.unsafe
to allow unsafe HTML as childrenFix HTML attributes formatting (charset, autocomplete, tabindex, inputmode, etc...)
Enable HTMX attributes via
html_of_jsx.ppx -htmx
0.0.1
First working version of the ppx and library
Supports most of features from JSX (uppercase components, fragments, optional attributes, punning)
but with a few improvements (lowercase components, no need to add annotations)
No React idioms (no
className
, nohtmlFor
, noonChange
, etc...)Type-safe, validates attributes and their types (it can be better thought)
Minimal
Html_of_jsx.render
to render an element to HTMLJsx.*
to construct DOM Elements and DOM nodes (Jsx.text
,Jsx.int
,Jsx.null
,Jsx.list
)
Supports some htmx under the ppx (
html_of_jsx.ppx -htmx
)