ml-in-barcelona / jsoo-react

js_of_ocaml bindings for ReactJS. Based on ReasonReact.
https://ml-in-barcelona.github.io/jsoo-react
MIT License
138 stars 19 forks source link

Upgrade to OCaml 4.08 + new bindings approach + gen_js_api #25

Closed jchavarri closed 4 years ago

jchavarri commented 4 years ago

This PR:

The largest change from the API perspective is that children has type list(element) now, instead of array(element), due to gen_js_api only allowing lists for variadic arguments.