There is currently no native way to use Localstorage in Elm.
Here is an example from the TodoMVC app that uses Javascript and ports.
Alternatively, fredcy is working on a localstorage library that is currently in development.
There is currently no native way to use Localstorage in Elm.
Here is an example from the TodoMVC app that uses Javascript and ports.
Alternatively, fredcy is working on a localstorage library that is currently in development.