2 ms·
Let me put in a good word for ReasonML. It has a fast, efficient JavaScript (ES5) compiler and makes it easy to scaffold (one command) and run a React project.
by yawaramin 8y ago
Let me put in a good word for ReasonML. It has a fast, efficient JavaScript (ES5) compiler and makes it easy to scaffold (one command) and run a React project. It also provides a well-thought-out and precise JavaScript binding DSL. Unlike the other two, it can compile to native executables as well as JS (with some caveats, and the Reason team is building an npm-inspired workflow around that with the `esy` tool).
Also different from the other two and a feature that I find hugely convenient, you don't have to specify all the imports before you can use them. In ReasonML, all imports are automatically visible everywhere throughout the project. For example, if you write this in Reason:
let abPath = Node.Path.join([|"..", "a", "b"|]);
The compiler will generate the following JS:
var Path = require("path");
var abPath = Path.join("..", "a", "b");