- Make tests run in FreeBSD (#22) (@davesnx)
- [BREAKING] Handle HTML encoding for
'
(@davesnx) - Handle HTML encoding for
"
(from"
to"
) (@davesnx) - Improved performance of
JSX.render
(@davesnx) - [BREAKING] Remove
Fragment
in favor ofJSX.list
(@davesnx) - Remove unused
Component (unit -> element)
since it isn't needed (@davesnx) - [BREAKING] Change attributes representation (@andreypopp)
- [BREAKING] Remove melange dependency (@andreypopp)
- [BREAKING] Lower the OCaml bound to 4.14 (@davesnx)
- Make lib wrapped (@andreypopp)
- [BREAKING]
Html_of_jsx.render
lives underJSX.render
(removing theHtml_of_jsx
module entirely) (@lessp) - [BREAKING] Module
Jsx
is turned intoJSX
(@lessp) - [BREAKING] dune's library is now
html_of_jsx
instead of (html_of_jsx.lib
) (@lessp) - [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 @leostera) (@lessp) - Improved performance of
JSX.render
(@lessp) - add
hx-trigger
to htmx ppx #13 (@lessp) htmlFor
->for_
(@lessp)- Fix aria-autocomplete (@davesnx)
- Add
Jsx.unsafe
to allow unsafe HTML as children - Fix HTML attributes formatting (charset, autocomplete, tabindex, inputmode, etc...)
- Enable HTMX attributes via
html_of_jsx.ppx -htmx
- 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
)
- Works with Reason and mlx
- Supports some htmx under the ppx (
html_of_jsx.ppx -htmx
)