Let's cache some information in local storage!
The main way to do this is to check out Resources
.
They have a mechanism to sync things to local storage built in!
If you want to do things more manually, you should check out the following helpers that are generated for you:
App.Effect.saveToLocalStorage
App.Effect.clearLocalStorageKey
App.Sub.onLocalStorageUpdated