package jsoo-react
Bindings to ReactJS for js_of_ocaml, including JSX ppx
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.tar.gz
sha256=93d5751c01016f5aa018b80259df0c65ac12f25152cef1dbcff024ddfc1f07b5
md5=240fd3b58cb002ff7eaa6ddddb7eba87
doc/CHANGELOG.html
0.0.2 (unpublished)
- Updates the library to depend on OCaml 4.08
- Takes a new approach to bindings (explored in
jsoo-is-sorted
) which streamlines the dependency on JavaScript libraries likereact
andreact-dom
by injecting them in js_of_ocaml global scope, so the bindings can find them in any case, even if they are exposed as a library - Uses
gen_js_api
and moves away from the.js
-based approach, which was error prone and more boilerplaty.gen_js_api
allows to declare the functions in regular interface files, and generates the "glue code" automatically behind the scenes. - Updates the ppx code to make it compatible with latest OCaml AST types and also to make it compatible with requirements from gen_js_api (e.g. the conversion of
key
prop tojs_string
has to be handled now at the ppx level).
0.0.1 (unpublished)
- Initial version
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>