News for hackers. Stuff that matters.
Re:Offline-Friendly Forms by ishitatsuyuki on Wednesday August 23, 2017 @09:35AM (#15081393)
I would just submit the form and check if it had a successful response. It can still be unreliable on a flaky network (the exactly once issue), but anyway it's cheaper on resources.
Re:Offline-Friendly Forms by gramstrong on Wednesday August 23, 2017 @11:07AM (#15082056)
Is listening for the event really expensive? Honest question. We update the UI when it happens, so I don't think relying on the success/failure of network requests is reasonable for us anyways.
Re:Offline-Friendly Forms by vinnymac on Wednesday August 23, 2017 @10:14AM (#15081679)
Yea, I would do the same. I was just speaking in terms of online awareness.