Matomo

elm

A package to create an ELM Single Page Application

Elm single page application
icon share post  25 mars 2022
icon share post  1mn de lecture
Partager Partager sur LinkedIn Partager sur Twitter Partager sur Facebook

As part of research and development, we worked on a new approach without code generation to make the assembly of a Single Page Application (SPA) in ELM easy and reliable.

Publication of an ELM SPA library

We have released an elm-spa library which doesn’t contain any code generation tool to limit error sources while creating a SPA.

This library has been presented by Christophe de Vienne during an ELM meetup on october 2021.

A 2.0.0 version which includes some improvements has recently been published. The main improvements are:

  • the possibility for a page not to be reinitialized when its route parameters change. This is very useful for a page which includes a search feature for example.
  • the separation of a Spa.PageStack module which only gathers pages into a component, but without being a complete application. This should allow a gradual migration of an existing written application.

icon share post  25 mars 2022
icon share post  1mn de lecture
Partager Partager sur LinkedIn Partager sur Twitter Partager sur Facebook