This is the same as PR #70, but I modified it to avoid the anti-pattern you described.
I also renamedd this PR to better fit what I was aiming to do. I needed a way to switch the tab, (for instance, after creating a tab it is useful to switch to it).
This is the same as PR #70, but I modified it to avoid the anti-pattern you described.
I also renamedd this PR to better fit what I was aiming to do. I needed a way to switch the tab, (for instance, after creating a tab it is useful to switch to it).