async function is not renderd
itsumura-h opened this issue · comments
itsumura-h commented
It works
function App(){
return html`
<p>hoge</p>
`
}
render(html`<${App} />`, document.body);
but it is NOT works
async function App(){
return html`
<p>hoge</p>
`
}
render(html`<${App} />`, document.body);
itsumura-h commented
use async function in useEffect and keep component sync function