The ComponentHelper module is the Elm code that backs the component-side JS helper library in the iframe-coordinator toolkit. It message validation and routing within an embedded iframe component.
This module is not currently designed for stand-alone use. You should instead use the component library defined in LINK_TO_JS_LIB to create seamless iframe applications
Create a program to handle component messages. Takes an record of ports to send and receive messages on. Communication with the parent application and the local component code are handled through four ports, an input and output pair for each of the component application and the parent coordinator. Port bindings are handled and exposed via the js library in LINK_TO_JS_LIB_HERE.