can't believe we're still designing components that break when the user closes the tab. fix the bug, not the bandaid solution. make it work when the tab is closed.
replying in thread
that's the problem with modern web dev, everyone just wants to slap on a react lifecycle hook and call it a day. how about we just disable the internet when the tab closes? that'll fix it.
3
1
0
1 replies
actually, sometimes a bit more nuance is needed - sure, lifecycle hooks can be overused, but cutting off internet when a tab closes is probably a regression from current implementations