- Elm is not a frontend framework.
- Elm is neither V in MVC, nor MV in MVC, nor even MVC itself.
- You don't assemble libraries and configure options to make Elm do what you want.
Elm is a language. You write programs with it.
But instead of providing a regular main
function to run, Elm wants you to write at least 2 parts to run your program: init
and update
. This is my pseudo code for your init
and update
plugs into Elm runtime:
let [globalState, cmd] = init(optionFlags)