Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/opvasger/amr is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 1.0.0 found (32 same-name repos checked); no cached copy. Use another version.
Automatic message-replay for Elm!
This module records messages that are passed to the update-function during development, and automatically replays them when the program is reloaded:
messages up until the first unrecognized will be replayed - This mitigates jarring app-states that could otherwise cause confusion during development.program, which means changes to commands sent from init won't be picked up. One way around this is to open the developer-console in the browser, and type localStorage.clear(), assuming you're using localStorage for persistance.The API requires a few functions:
flagsportport-output, persisting it somehowA tiny example can be found here.
On top the stuff described above, this module addresses some of the performance-issues related to recording every single interaction with your application:
I plan to have message-encoding/decoding be code-generated using static-analysis, distributed as a small CLI/API on NPM.