Wire

Lamdera Wire is the mechanism by which ToBackend and ToFrontend message values are transferred between the frontend and the backend. page

Hosting, Deployment & Migrations png

Lamdera automatically handles encoding, transfer and decoding of these values, as well as type-checking they are being used correctly.

[…]

🚫 Functions Functions are tricky; they might be partially applied, or close in values from the surrounding scope that cannot be serialized, so gathering up all that relevant context to encode & transfer is really difficult and messy.

[…]

🚫 Kernel/Core values These are Javascript-backed values in elm/* and elm-explorations/* packages that cannot be encoded in Elm (a.k.a Kernel types). These include things like Task, Cmd, Sub etc, and the non-Kernel but unconstructible Never.

[…]