Commit graph

3 commits

Author SHA1 Message Date
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
Nathan Sculli
44f7d1fbc4 Upgrade with-reasonml example to Reason React 0.7 and JSX 3 (#7078)
- Use the new [@react.component] decorator for all of the react
  components and bindings.
- Use the new react hook integrations for the counter component.
- Add a `npm run dev:reason` and `npm run dev:next` commands to make
  running the build processes in separate terminals easier.  I didn't
  update the README because I'm unsure if this is something that would
  be desired.
- upgrade to reason react 0.7.0
- upgrade to react and react-dom 16.8.6
- upgrade to bs-platform 5.0.3
- upgrade to @babel/core 7.4.3
2019-04-20 02:57:08 +09:00
Adam Lane
3d9564215c example with-reasonml dependency updates (#5048)
The original example fails to compile on my windows machine but updating bs-platform fixes that.
Depending on bs-next causes example to fail (package compiled with old incompatible version of bs-platform) so I have included it in a bindings directory where it can serve as an example of reason bindings.
Sources have been migrated to the latest reason-react.
2018-09-03 01:38:54 +02:00