You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I assume as soon as the Promise resolves (the await finishes) all blocks are in the response. The helper (API call collects all the blocks). Maybe I’m missing something… 🤔
How to know when page blocks are done and DOM is fully updated? Is there any callback function?
const { data: blockMap } = useAsyncData('page_nuxt', () => $notion.getPageBlocks(pageUrl))
at the moment I'm using timeout but it is not always reliable:
The text was updated successfully, but these errors were encountered: