rescript: add a direct support for React components
cannorin opened this issue · comments
Related: #32 (comment)
ReScript has its own binding for React, and also has a dedicated syntax @react.component
for React components.
ts2ocaml should detect the React components and generate code with the built-in React binding and @react.component
.