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: Add location on errors for invalid key/ref usage on props #118

Closed davesnx closed 2 years ago

davesnx commented 2 years ago

Added locations on errors related with key and ref used on props.

I didn't add a test's error for those ones, I'm not sure If we want to get a test case for each error message we trigger. Eventually yes, but our system makes adding a ton of files to achieve that. WDYT?