This app demostrates one of the approaches that one can take in order to integrate ReasonML into their existing React app.
It goes as follows:
- start by creating
src/Types.re
- rewrite reducer into idiomatic Reason
- rewrite actions into idiomatic Reason
- update
src/store.js
for a custom middleware and reducer wrapper so actions can be used from and to javascript / reason - ship it
In my talk I explain it in more detail but if you need help, you can always hit me on twitter.