Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why wouldn't you just use a Service Worker for this?


There's a couple different ways to skin this cat, but WebAssembly is definitely the "coolest". I'd imagine even a Service Worker is overkill compared to just inlining an optimistic response in whatever rest client you're using.

Kind of similar to the content of this article, I wish people were more upfront with their reasoning. Doing something because "it's rad" is definitely fine by me!


> WebAssembly is definitely the "coolest"

As always: when I doubt, it was likely because of CV-driven development


I just mutate the data object when using SvelteKit. Blasphemy, I know. But it works, and it works well. :P




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: