Logging from `view`

Sometimes you (a) only figure out something’s wrong in view, and (b) don’t want to use Debug.log because it’s in production. Here’s a quick hack to demonstrate how one might log from an Elm view function using a custom element. Hopefully it will be helpful to someone, someday.

4 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.