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

That's actually what I didn't understand in Dan Abramov's response ...

If you run a synchronous function that takes 2 seconds your app will block whether you use Svelte or React or whatever. You need to offload it to a webworker anyway.

Still I think it's a good idea to update the DOM not more often than needed: Only update the last change of an element every 23 ms and skip the changes that have been overriden. You can do this without a virt DOM.



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

Search: