reasonml / reason-react

Reason bindings for ReactJS

Home Page:https://reasonml.github.io/reason-react/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document usage with opam + npm

jchavarri opened this issue · comments

As these bindings are now targeting Melange, the main supported workflow will be consuming it through opam. This means users of reason-react will need to add react as a dependency on their package.json manually. Similarly to how OCaml native bindings do with underlying dependencies.

This should be documented in the README and docs, including the version of ReactJS that is supported (I think 16 at the moment).

We could mention opam-check-npm-deps, see related #760