rescript-lang/rescript-react

Notes on apis

Closed this issue · 2 comments

  • ReactDOMRe.objToDOMProps -> this function is currently missing, probably need to add that back for the transition (later on we will not need that apis for v1 afaik)

Upgrade notes:

  • ReasonReact.reactElement -> React.element
  • ReactDOMRe.Style -> ReactDOM.Style
  • ReactDOMRe.props -> ReactDOM.props
  • ReasonReact.string, ReasonReact.int,... -> React.string, React.int,...

Uncurried, Event's foo["bar"] usage

Closing this issue, as it is about the past transition from reason-react to @rescript/react that happened 1 1/2 years ago.