paint-brush
How Elm Ports Work, With a Picture (just one)by@JustGage
5,541 reads
5,541 reads

How Elm Ports Work, With a Picture (just one)

by Gage Peterson4mFebruary 10th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

<a href="https://hackernoon.com/tagged/elm" target="_blank">Elm</a> ports is one of the main ways to interact with <a href="https://hackernoon.com/tagged/javascript" target="_blank">JavaScript</a>. However I feel like I need to tell you that if you can get away with it, you should just use flags. Flags pass in some initial value to Elm to start with and is the easiest way no doubt. However if you want more back and forth communication ports is the way.

Company Mentioned

Mention Thumbnail
featured image - How Elm Ports Work, With a Picture (just one)
Gage Peterson HackerNoon profile picture
Gage Peterson

Gage Peterson

@JustGage

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite