Hey everyone!
I was wondering if you ever ran into a situation where a certain problem was impossible to solve with Elm, even when using flags, ports or web components? So by impossible I mean there is no JavaScript solution and excluding altering Elmās output or the compiler itself.
Whenever Elm is criticised, the critique is usually not because something wasnāt possible with Elm in general, but because something wasnāt possible in Elm only. (especially if the person has tried to contribute their solution)
At my current company we are aware of the things that Elm currently can do natively and happily choose it when possible or fall back to JavaScript via its FFI. Nevertheless I was wondering if there are problems that cannot be solved by the JavaScript interop that Elm provides.
Iāve heard of some issues with DOM events that need to be called synchronously, which apparently was solved in 0.19 (any links to the issue would be appreciated) and maybe rehydration of DOM listeners after server-side rendering is not possible without altering the compiled Elm code itself?
Iām mainly interested to learn about the tradeoffs that Elmās FFI has, because despite requiring more boilerplate I see way more advantages than disadvantages. (which makes me wonder why other languages donāt choose the same model)
Thanks!