melange-re/melange-for-react-devs

A project-based, guided introduction to Melange and its ecosystem for React developers.

Reason

48

374 commits

updated Nov 30, 2025

See the code

README

Melange for React Developers

Source code for the book Melange for React Developers.

Quick Start

npm run init

# In separate terminals:
npm run watch
npm run serve

Commands

All the build commands are defined in the scripts field of package.json. This is completely optional, and other tools like make could be used.

You can see all available commands by running npm run. There are explanations of each command in the scriptsComments field of the package.json file. Here are a few of the most useful ones:

  • npm run init: set up opam local switch and download OCaml, Melange and JavaScript dependencies
  • npm run install-opam-npm: install OCaml, Melange, and JavaScript dependencies
  • npm run watch: watch the filesystem and have Melange rebuild on every change
  • npm run serve: serve the application with a local HTTP server

Book

The files for the book associated with this repo are in the docs directory. See docs/README.md for details.

Contributors

feihong

361 commits

jchavarri

5 commits

davesnx

3 commits

kevanantha

1 commits

melange-re/melange-for-react-devs

A project-based, guided introduction to Melange and its ecosystem for React developers.

Reason

48

374 commits

updated Nov 30, 2025

See the code

README

Melange for React Developers

Source code for the book Melange for React Developers.

Quick Start

npm run init

# In separate terminals:
npm run watch
npm run serve

Commands

All the build commands are defined in the scripts field of package.json. This is completely optional, and other tools like make could be used.

You can see all available commands by running npm run. There are explanations of each command in the scriptsComments field of the package.json file. Here are a few of the most useful ones:

  • npm run init: set up opam local switch and download OCaml, Melange and JavaScript dependencies
  • npm run install-opam-npm: install OCaml, Melange, and JavaScript dependencies
  • npm run watch: watch the filesystem and have Melange rebuild on every change
  • npm run serve: serve the application with a local HTTP server

Book

The files for the book associated with this repo are in the docs directory. See docs/README.md for details.

Contributors

feihong

361 commits

jchavarri

5 commits

davesnx

3 commits

kevanantha

1 commits

Languages

Reason

79.6%

Raku

12.2%

HTML

5.1%

CSS

1.5%

JavaScript

1.3%