Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Doesn't the rendered page run in a different thread to its JS? If the website does use some SPA framework to lazy-render the components, load the new view, or execute some logic, maybe then, but when I say run `(() => { const s = Date.now(); while (Date.now() - s < 10000); })();` and try to scroll the page, it doesn't freeze.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: