Should sections of my web app open in browser tabs or in tabs I draw myself?
Building an application where users work across several pages at once and want to move between them quickly. There are two obvious designs.
One: everything opens in ordinary browser tabs, and I do nothing.
Two: I implement a tab strip inside the application and manage the open sections myself, so the whole thing lives in a single browser tab.
I can see arguments both ways and I keep going round in circles. What actually decides this?
@shortcut_shreya · 3w ago
The question that decides it: does state need to be shared between the open sections?
If each section is independent — a document, a record, a report — browser tabs are almost always right. You inherit an enormous amount for free: back and forward, bookmarks, history, open in new tab, restore after crash, drag a tab to a second monitor, and a tab management model every user already knows.
If the sections share live state — a running process, a websocket, an in-memory dataset, an editor with cross-references — in-app tabs start to earn their cost, because coordinating that across browser tabs is genuinely hard and often means rebuilding it anyway.
Everything else in this decision is secondary to that one question.
Reply
Report