
Reliably Send an HTTP Request as a User Leaves a Page
On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a
2 articles by Alex MacArthur.

On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a

It's hard to imagine writing production-ready JavaScript without a tool like Babel. It's been an undisputed game-changer in making modern code accessible to a