rescript-lang / syntax

ReScript's syntax as a standalone repo.
MIT License
254 stars 38 forks source link

Remove `Caml_option.some` from jsx mode #669

Closed mununki closed 2 years ago

mununki commented 2 years ago

This PR fixes #667

mununki commented 2 years ago

ReactDOM.someElement does not need In case of multiple children with React.array([child, child]). Caml_option.some is not used in generated output.