Parasrah/elm-react-component

Error message for no ports at all could be improved

Opened this issue · 0 comments

Currently if you've defined no ports on the elm side you get a "can't access ... of undefined" error. Following the "custom errors" philosophy, this could be improved.

I'm not sure where to put the check though.