about summary refs log tree commit diff
path: root/nut-score/src/Index.bs.js
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-17T22·40+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-17T22·40+0000
commit209fdf5726a7e80ad4b99e2a6505b6522094a774 (patch)
tree3efd1a58b882ae0fbef08865d4629467147dd564 /nut-score/src/Index.bs.js
parent166aed6e80f902ce232c0f5e9b76eceef69a714b (diff)
Add ReasonML boilerplate
After some toil, I finally support basic ReasonML starter code.

I'm adding it to the nut-score directory because I would like to make a simple
webpage that render some nutritional facts about nuts with respect to the
ketogenic diet.

I'm not sure if I should include or exclude te .bs.js files.

See the README.md for more information.
Diffstat (limited to 'nut-score/src/Index.bs.js')
-rw-r--r--nut-score/src/Index.bs.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/nut-score/src/Index.bs.js b/nut-score/src/Index.bs.js
new file mode 100644
index 000000000000..18775b27e122
--- /dev/null
+++ b/nut-score/src/Index.bs.js
@@ -0,0 +1,9 @@
+'use strict';
+
+var React = require("react");
+var ReactDOMRe = require("reason-react/src/ReactDOMRe.js");
+var ReducerFromReactJSDocs$ReasonReactExamples = require("./ReducerFromReactJSDocs/ReducerFromReactJSDocs.bs.js");
+
+ReactDOMRe.renderToElementWithId(React.createElement(ReducerFromReactJSDocs$ReasonReactExamples.make, { }), "mount");
+
+/*  Not a pure module */