rsnext/examples/with-reasonml/pages/about.re
Anthony Mittaz 7f471a4463 Tweak ReasonML example (#7254)
* Lock bs-platform to 5.0.3 (avoiding issues with reason language server)

https://github.com/jaredly/reason-language-server/issues/275

* Reformat code

* Ask bucklescript to use es6 instead of commonjs

* Rework getInitialProps (can now use a promise)

* Ignore .bsb.lock
2019-05-05 13:02:27 +02:00

10 lines
172 B
ReasonML

[@react.component]
let make = () => {
<div>
<Header />
<p> {ReasonReact.string("This is the about page.")} </p>
<Counter />
</div>;
};
let default = make;