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.
[ Parent
| on HN ]
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.