But we need to all admit that doubling up your data structures & doing work O(num-elements) when changes are smaller is *not fast*
-
-
Replying to @slightlylate @justinfagnani and
+1. This was exactly the reason for once - DOM diffing without any intermediate data structureshttps://github.com/utilise/once
1 reply 0 retweets 2 likes -
Replying to @pemrouz @slightlylate and
"DOM is slow" was hugely misleading. DOM is not slow to walk, or read. Updates may be slow. Vdom is just buzzword for memoization.
2 replies 0 retweets 2 likes -
Replying to @pemrouz @slightlylate and
Also 2-3x as fast on their own benchmark at fraction of the size :) https://mathieuancelin.github.io/js-repaint-perfs/ …
1 reply 1 retweet 0 likes -
Replying to @pemrouz @slightlylate and
That benchmark has been broken for a long time. It's extremely easy to "cheat", just like most benchmarks are.
3 replies 0 retweets 6 likes -
Replying to @trueadm @slightlylate and
I don't disagree, but this standard was presented React conf, trashed angular/ember on stage. Now it's broken? Which benchmark is better?
3 replies 0 retweets 0 likes -
At the time, the #1 driver I've seen for people switching from Angular to React was that once an Angular app had a moderate size, it
1 reply 0 retweets 1 like -
became excessively slow. So someone from the community showing that you could build complex apps in a normal way with React was a big deal
1 reply 0 retweets 1 like -
Nowadays, the performance of all the popular js frameworks is acceptable and it's no longer the main driver to go see somewhere else.
2 replies 0 retweets 2 likes -
I wish more of the traces I looked at confirmed this (from an app architecture & load-time perspective)
1 reply 0 retweets 0 likes
Caveat emptor: I'm primarily focused on mobile; what you say may be true on desktop (but I see traces that give me pause there too).
-
-
Replying to @slightlylate @pemrouz and
I'm talking about what people report to me. I don't see a massive uprising of React users because of perf like I've seen with Angular.
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.