elm-spa

Elm SPA

Specific best practices and architectural patterns when working with Elm SPA.

Details

Language / Topic
elmElm
Category
framework

Rules

balanced
- Generate entirely new pages safely executing `elm-spa add` explicitly to scaffold boilerplate architecture.
- Define page components structurally exporting `Model`, `Msg`, `update`, and `view` explicitly from every file.
- Manage shared application data cleanly extending the `Shared.Model` definitions passed automatically into pages.
- Construct navigation links specifically utilizing the generated `Route` modules preventing broken hardcoded URL strings.