Re:I Was Wrong About Offline
by firasd on Friday October 21, 2016 @10:49AM
(#12760886)
The thing is that batteries are usually stateless (is there power or not?) whereas if you're handling offline vs online mode you are going to have to sync changes and that's a mind#!%$. You know the line about the two hard problems in CS being cache invalidation and naming things, well now you're dealing with cache invalidation squared.
(I did make a demo of how using React & Redux can help sync UI state from offline to online but it's not a comprehensive solution https://medium.com/@firasd/interface-from-data-using-react-t...)