Skip to content

romanschejbal/from-react-to-reason

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

from Madness to Reason

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:

  1. start by creating src/Types.re
  2. rewrite reducer into idiomatic Reason
  3. rewrite actions into idiomatic Reason
  4. update src/store.js for a custom middleware and reducer wrapper so actions can be used from and to javascript / reason
  5. ship it

In my talk I explain it in more detail but if you need help, you can always hit me on twitter.

About

A demo app created for my talk "from Madness to Reason"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published