3 ms·
I don't think there will ever be a way to interface js directly from elm or vise versa. Ports are the only way.
by neoberg 7y ago
I don't think there will ever be a way to interface js directly from elm or vise versa. Ports are the only way.
- jlengrand 7y agoHa, OP meant directly? Well AFAIK that is simply not possible, to keep the purity of Elm programs. All has to go through the Elm architecture. Or am I mistaken?
- neoberg 7y agoSorry for the late answer but yes it's not possible to keep elm's purity and safety while having a direct interface to js.