This is a repo with examples usages of Reason-React, whose docs are here. Have something you don't understand? Join us on Discord!

Usage

Clone the repo and move into the project:

git clone https://github.com/chenglou/reason-react-example.git

cd reason-react-example

Install dependencies:

npm install

Compile your reason:

npm start

After you see the qnd compilation succeed (the npm start step), open up your browser to localhost:8000 . You should see todomvc app.

If you want to change the example project, navigate to qnd.js and change the following:

qnd(
  ... ,
  '/src/todomvc/index.html' // <---- change folder name todomvc to simple, logo, etc.
)();