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 ?
henrik
2
I’ve blogged about using localStorage: https://thepugautomatic.com/2020/05/persistent-session-data-via-localstorage-in-phoenix-liveview/
Chris has mentioned a “stash” but I suspect it wouldn’t be a general purpose way of using client-side data beyond restoring state: https://news.ycombinator.com/item?id=21101081
2 Likes