https://github.com/jchavarri/incr_dom_reason
Example project of janestreet/incr_dom with Reason
https://github.com/jchavarri/incr_dom_reason
Last synced: 3 months ago
JSON representation
Example project of janestreet/incr_dom with Reason
- Host: GitHub
- URL: https://github.com/jchavarri/incr_dom_reason
- Owner: jchavarri
- License: mit
- Created: 2018-11-19T21:33:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T16:03:58.000Z (over 6 years ago)
- Last Synced: 2025-02-28T06:03:59.138Z (4 months ago)
- Language: OCaml
- Size: 64.5 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# incr_dom with Reason + esy
A project which demonstrates a Reason workflow with [incr_dom](https://github.com/janestreet/incr_dom).
It includes a basic counter example, that has been copied from the original [`incr_decr` example](https://github.com/janestreet/incr_dom/tree/f62ed08fbbc24a194a1b0297d6b241ee438c451c/example/incr_decr).
## Usage
You need Esy, you can install the beta using [npm](https://nodejs.org/en/download/):
% npm install -g esy@latest
Then you can install the project dependencies using:
% esy install
Then build the project dependencies along with the project itself:
% esy build
And test the compiled JS executable, open `index.html` in your browser:
