Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

214
Views
How to know if the replaced tab for a previously discarded tab is the same?

So you discarded a tab and later when you click on the discarded tab , it reloads the page.

First:

OnUpdated() gets called with changeInfo.discarded === true

and on reload:

  1. onUpdated() gets called with changeInfo.discarded === false.
  2. onUpdated() gets called with changeInfo.status === complete.

How, would I know that the tab in Step 2 is the replacement for the discarded tab. The tab.id has changed by now and the tab.discarded property of the newtab has also been reset. So, ducktyping?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!