Build options page async

Hi, I need to return component in async callback This is current version chrome.storage.sync.get(constants.storageKey, function (value: DSStorageSettings) { const settings = getSettings(value) const settingsElement = document.getElementById('settings') as HTMLElement const root = createRoot(settingsElement) root.render(<Settings settings={settings} />) }); How to do it in Plasmo? Thanks
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?