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

fix(ppx): Ensure we pass rec_flag on value_binding #133

Closed davesnx closed 2 years ago

davesnx commented 2 years ago

This PR ensures that rec_flag is being passed to the generated value_binding while transforming let component with [@react.component].

Fixes #132.

davesnx commented 2 years ago

This PR fixes https://github.com/ml-in-barcelona/jsoo-react/issues/132

jchavarri commented 2 years ago

Thanks! 🎉