3 ms·
> With newer frameworks like Svelte, the virtual DOM isn't even used because of the performance overhead. Instead, Svelte uses a technique called "dirty checkin
by paulddraper 3y ago
> With newer frameworks like Svelte, the virtual DOM isn't even used because of the performance overhead. Instead, Svelte uses a technique called "dirty checking" to determine what has changed.
"Newer frameworks" lol.
Angular was doing this before Svelte was a twinkle in its creator's eye.
But that doesn't exist because it's "old" and frequently used.
- thecleaner 3y agoNever really thought react was a problem. I think it's quite fast. Issues that I've seen are with reduxjs which triggers a ton of re-renders if you return a new object from the useSelector hook. And it's fucking stupid because even one component that pollutes the store, it can slow the whole app to a crawl. Think for example something that fires on onHover and we want to achieve 60fps. Even Figma suffered from this issue. They wrote a blog about it.