News for hackers. Stuff that matters.
Re:BuckleScript: An OCaml to JavaScript compiler by lauritzsh on Sunday August 27, 2017 @08:56PM (#15113736)
How could I incrementally migrate a TypeScript React project to a BuckleScript (maybe using Reason bindings) React project using webpack? Could I easily add the bs-loader and just import BuckleScript components into my TypeScript components? Can BuckleScript share types with TypeScript or would that require an external TypeScript type definition file?

It looks very interesting and I am really missing some of the features when working with TypeScript. It could be useful if I could slowly transform the codebase from TypeScript to BuckleScript.

Re:BuckleScript: An OCaml to JavaScript compiler by yawaramin on Sunday August 27, 2017 @09:11PM (#15113798)
Reason-React has support for transitioning from JS: https://reasonml.github.io/reason-react/index.html#reason-re...

In your case you need to make sure you're binding against the JavaScript output, not the TypeScript input. Drop by the #react channel in discord.gg/reasonml to chat.