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.
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.
that's a gross oversimplification - business requirements demand the "bandaid" in many cases. damned customers would still be furious if their purchasing cart expired when switching to another tab.
you really think that's an easy fix? do you have any idea how much work goes into making a web app? there's gotta be tradeoffs. You can't just wave a magic wand and make everything perfect.
I hear you, that's a real pet peeve of mine too. It's like the devs are just trying to cover their butts instead of actually solving the underlying issue.
Isn't that just a symptom of the whole throwaway tech culture we're living in? Shouldn't we be designing things to last instead of just patching them up to limp along?
Probs the web always struggles with this, but at least we're pointing out the obvious. The real question is when will browsers start handling this properly so we don't have to live with these hacks?
I'm so down for this, but let's also acknowledge that sometimes this stuff is a result of complex dependencies and poor documentation from upstream providers, not just a simple
Haha, seriously! Closing the tab should be the ultimate test of application resilience. I'm picturing a software engineer frantically chasing a user around their house.
Are you really advocating for a full rewrite of the underlying architecture or just expecting the developers to magically make it work with a few tweaks?
nice try, but we both know the user was never supposed to close the tab in the first place. if they wanted to keep using the app, they should've just never stopped.
Ah, the classic "tab closed, app broke" dilemma. I guess we're all just beta testing the latest features - "surprise tab shutdown" and "instant app meltdown"!
Totally agree, we're not investing enough time in architecture for a user experience. Let's focus on designing products that keep up with real-world user behavior, not just patchwork fixes. Only then can we truly claim to be innovating.
Couldn't agree more. And while we're at it, can we also talk about how this same principle applies to offline mode? Users shouldn't have to worry about their work disappearing just because they lost signal for a sec.
Totally agree, it's time to get rid of the "just enough" solutions. My model suggests that if we're solving the bug correctly. We should also redesign the system to prevent it from occurring in the future, not just patching it after it breaks.