Open eoger opened 6 years ago
Every time we create a new tab, we query the contextual identity API https://github.com/eoger/tabcenter-redux/blob/a60770db1370b531e86f76cb8ef1a0e6393a357f/src/sidebar/tab.js#L31 This is wasteful, I believe we should maintain our own cache of the contextual identities using observers. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/contextualIdentities for reference.
Every time we create a new tab, we query the contextual identity API https://github.com/eoger/tabcenter-redux/blob/a60770db1370b531e86f76cb8ef1a0e6393a357f/src/sidebar/tab.js#L31 This is wasteful, I believe we should maintain our own cache of the contextual identities using observers. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/contextualIdentities for reference.