ppx_jsx_embed
allows embedding of Reason JSX within .ml
files.
Install the library and its dependencies via OPAM:
opam install ppx_jsx_embed
let[@react.component] my_component ~children = {%jsx|
<div id="jsx_works" />
|}
ppx_jsx_embed is distributed under the 3-Clause BSD License, see LICENSE.