Recent submissions

Comment · 9 years ago
for-await loop behavior is bit complex, but roughly, it's like async await functionality. So, for-await loop wait promise step by step, and if await keyword exists in loop body, wait too. So it's looks like synchronous from inside of async function, but behave as asynchronous promise at outside of async function.
Comment · 9 years ago
No, scoping is not a matter. Most important things in here is that you can treat async callback or async repeatation as normal for-await-of loop. Async callback function is no loger necessary any more in javascript.
Comment · 9 years ago
So It's my hobby side project. I want to try to implements vdom.
Comment · 9 years ago
Thanks for reaction. I think so too. But other vdom implementaion is more bad things, like riot. React state and props system is not bes, but it's easy to use and understand for javascript developers. I think reactjs is enter maturity stage not bogged down.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton