Hi,

I have read the chapter of Elm in Action (Meap) by Richard Feldman about elm 
and js interaction.

I still cannot understand when it is appropriate to interact with js with ports 
rather than web custom elements.

To me web custom elements are better as they "work" with the elm debugger and 
need less boilerplate and js/elm json serialization.

You could say that web custom elements are a pain in the first place as you 
need to wrap a full js API to create them. 

But what are the best practices of the community regarding custom elements Vs 
ports ?

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to