Client based data in Phoenix LiveView

Has some strategy to store and use data from the client side ever been considered with Phoenix LiveView ?

I know the crux of LiveViews is to maintain datas from the backend but I’m still wondering if it wouldn’t be feasible for some very static data ?

I’ve blogged about using localStorage: Persistent session data via localStorage in Phoenix LiveView – The Pug Automatic

Chris has mentioned a “stash” but I suspect it wouldn’t be a general purpose way of using client-side data beyond restoring state: In my ElixirConf keynote, I highlighted how automatic form recovery is on the ro... | Hacker News

2 Likes