ackaraga
ackaraga
PD🧩 Plasmo Developers
Created by ackaraga on 7/3/2023 in #🔰newbie
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
2 replies