Elm and SPAs
Elm is primarily designed for front-end development, and while it supports single-page applications (SPAs), most of its use cases do not involve SPAs. The interaction with the outside world is managed through commands and subscriptions, where commands trigger external actions and subscriptions allow Elm to respond to specific events. For HTTP requests, typically only commands are needed, simplifying the process of handling responses without the need for subscriptions.In this clip
From this podcast

Software Engineering Radio - the podcast for professional software developers
Episode 411: Aaron Vonderhaar on Elm
Related Questions