5 ms·
JS interop.
by AlchemistCamp 5y ago
JS interop.
- yakshaving_jgt 5y agoElm’s JS interop isn’t broken.
- AlchemistCamp 5y agoIt's not technically broken, but it's a far cry from this: https://www.mint-lang.com/guide/reference/javascript-interop/inlining https://www.mint-lang.com/guide/reference/javascript-interop...
- yakshaving_jgt 5y agoFrom reading that document, I would say Mint’s JS interop is broken, and Elm’s isn’t. Being able to write inline JavaScript is certainly not what I want. Perhaps I’m missing something, but inline JavaScript is the kind of thing that will inevitably result in uncaught runtime failure, which is exactly the kind of thing I am trying to avoid by using a language like Elm.