News for hackers. Stuff that matters.
Re:How I write React after 8 years by djbusby on Wednesday July 27, 2022 @09:11PM (#32259254)
Holup. React is slow and outdated for rendering? I thought one of the big selling points was VDOM and it improves rendering speed. (Can you tell I don't use react?)
Re:How I write React after 8 years by deepsun on Wednesday July 27, 2022 @09:30PM (#32259394)
Improves compared to redrawing the whole component on every render(), as render() returns the whole component. But there's no improvement over redrawing only what's needed to be redrawn, plus VDOM overhead. I don't have enough to experience with Svelte, but I believe it's what it's doing.