Document usage with opam + npm
jchavarri opened this issue · 1 comments
jchavarri commented
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).
jchavarri commented
We could mention opam-check-npm-deps, see related #760