async version of querySelector() and querySelectorAll()
npm i async-query-selector-allimport {
asyncQuerySelector,
asyncQuerySelectorAll,
} from 'async-query-selector-all'
const app = await asyncQuerySelector('.app')
const button = await asyncQuerySelector('button', app)
for await (const img of asyncQuerySelectorAll('img[hidden]', app)) {
img.hidden = false
}