Hi,
I am familiar with OCaml but quite new in the Reason environment.
I had some trouble with reason react. I can’t compile the first reason react example :
I always have this cryptic type error :
/Users/nicolasassouad/perso/concern/src/Index.re 10:4-11
8 │ */
9 │ ReactDOMRe.renderToElementWithId(
10 │ <Greeting name=“John”/>,
11 │ "greeting"
12 │ );
This function has type {. “name”: string} => ReasonReact.reactElement
It only accepts 1 argument; here, it’s called with more.
Can someone help me out ?
Thank