Recently I’ve been trying to make a case for Elm at work, and wanted to remove as many obstacles to trying it out in our React code base as possible. Evan’s library for this is great, but I felt that the requirement to explicitly setup ports on the React side was going to be a deal breaker for us. Enter @elm-react/component! It automatically converts your props to the appropriate Elm ports, with error messages that will hopefully be consistent with the quality Elm has led us to expect. I wanted to share it in case it would help anyone else make the case for Elm where they work.
(Originally posted on Reddit)