Sorry, I’m new to elm. This might be a stupid question.
I know I can use elm reactor
when writing elm app. But ports is in JavaScript code.
The following are the details:
I have a speech synthesizing service in JS. The sdk is large. So I don’t wait for sdk to load. I just Elm.Main.init
the app, and load the sdk in defer script
. Just show the UI before the sdk loaded. But I must notify the elm part after the sdk loaded.
So the entire app depends on the notifying port. If the elm reactor
don’t support html or js, how to debug port functions?