Closed gregziegan closed 7 years ago
This is a much more solid approach than just passing a JS object to a port.
A runtime error will be thrown when JS does not have the correct structure to pass into the Elm program. We account for incorrect values in the Elm code now.
What
This is a much more solid approach than just passing a JS object to a port.
Why
A runtime error will be thrown when JS does not have the correct structure to pass into the Elm program. We account for incorrect values in the Elm code now.