Files
  • public
  • src
    • index.re
    • App.bs.js
    • App.css
    • App.re
    • App_test.bs.js
    • index.bs.js
    • index.css
    • logo.svg
  • bsconfig.json
  • package.json
src/index.re
1
2
3
4
5
6
[%bs.raw {|require('./index.css')|}];

ReactDOMRe.renderToElementWithId(
  <App message="Welcome to React and Reason" />,
  "root",
);
Reason 3.1.5, node v9.7.1 linux/amd64