5 ms·
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
by ishitatsuyuki 9y ago
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.
- vinnymac 9y agoYea, I would do the same. I was just speaking in terms of online awareness.
- gramstrong 9y agoIs 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.