News for hackers. Stuff that matters.
Re:Learning Elm by porting a medium-sized web front end from... by marc136 on Friday March 01, 2024 @04:28PM (#39567011)
Yes, ports or custom elements are the recommended options, https://github.com/elm-community/js-integration-examples

There are a bunch of other options/workarounds/hacks depending on the need. E.g. using getters or creating proxy objects https://github.com/anmolitor/intl-proxy, or event listeners, or postprocessing of the generated JS code, but those shouldn't be the first idea to reach for.

There are no comments on this comment yet.