Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 715 Bytes

Note: for general Reason + BuckleScript editor setup, see here.


npm install -g bs-platform
bsb -init my-react-app -theme react
cd my-react-app && npm install && npm start
# in another tab
npm run webpack

BuckleScript's bsb build system has an init command that generates a project template. The react theme offers a lightweight solution optimized for low learning overhead and ease of integration into an existing project.

It compiles to straightforward JS files, so you can open index.html directly from the file system. No server needed.