When try to send some requests to the backend whenever frontend user ‘leave’ the page, there are two approaches navigator.sendBeacon or fetch with keepalive set to true. So what is the tradeoff? Advantages of navigator.sendBeacon: Specifically desig...
blog.zackhu.com2 min readNo responses yet.