News for hackers. Stuff that matters.
Re:Htmx, WebAssembly, Rust, ServiceWorker Proof of Concept by nymanjon on Monday October 24, 2022 @02:18PM (#33320320)
I pretty much build my personal offline-first web apps this way, but with JS.

https://news.ycombinator.com/item?id=33319875

Re:Htmx, WebAssembly, Rust, ServiceWorker Proof of Concept by nabakin on Tuesday October 25, 2022 @11:45PM (#33339581)
Cool! If I'm reading your code correctly, you store service worker state in the cache?
Re:Htmx, WebAssembly, Rust, ServiceWorker Proof of Concept by nymanjon on Wednesday October 26, 2022 @06:55PM (#33350719)
Yeah, I store everything in IndexedDB using a simple Key-Value abstraction library. I have a cache where I store any temporary state between pages.