Hacker News new | ask | show | jobs
by yenda 1217 days ago
Regarding offline I tested the photon-starter-app repo a bit and it looks like it already supports disconnections but without optimistic updates:

Here's what I did - killed the network - added a bunch of items to the todo list, which disappeared from the input field but didn't appear in the list - switched network back on, items appeared in the list

I'm curious to see how adding optimistic updates to the mix would work

1 comments

(founder here) Should be straightforward; as you discovered, everything is properly backpressured by the compiler (automatically!) so no state is lost.