that can be used as infrastructure for any number of different layers above it.
-
-
Replying to @justinfagnani @tbranyen and
Also, can we just talk about vdom overhead for a minute? I'm grateful the marketing dreck about it being "faster" quietly exited stage left
4 replies 4 retweets 15 likes -
Replying to @slightlylate @justinfagnani and
But we need to all admit that doubling up your data structures & doing work O(num-elements) when changes are smaller is *not fast*
8 replies 8 retweets 32 likes -
Replying to @slightlylate @justinfagnani and
In theory, the `O(
#element)` cost can be significantly reduced using `shouldComponentUpdate` to prune the tree. Not used enough in the wild?1 reply 0 retweets 1 like -
Replying to @robknight_ @justinfagnani and
"VDOM! Now I don't need to manage state updated in my component!*" * please shouldComponentUpdate() responsibly; mobile perf not advertised
2 replies 1 retweet 12 likes -
Replying to @slightlylate @robknight_ and
No one manually uses sCU, you know that. It's *being* used by HOCs like Redux/Mobx. Allows them to consistently optimize perf.
2 replies 0 retweets 0 likes -
Replying to @0xca0a @robknight_ and
I know from firsthand experience that's untrue. Every single large-ish React app I've worked on has had to spend days/weeks optimising this.
7 replies 1 retweet 4 likes -
Replying to @slightlylate @robknight_ and
PureComponents and Redux is all we need. We have a gigantic app with hundreds of thousands of ever changing nodes (cad), not one cCU defined
1 reply 0 retweets 1 like -
Replying to @0xca0a @slightlylate and
I would really like to know what makes you define sCU, though? I see it as a pure low level non user facing interface for libs.
1 reply 0 retweets 0 likes -
Replying to @0xca0a @slightlylate and
Paul Henschel Retweeted Paul Henschel
CAD system is here btw. https://twitter.com/0xca0a/status/884851183051001856 … scroll down for the constraint solver. I have never in my career sat on a bigger project.
Paul Henschel added,
1 reply 0 retweets 1 like
There's at least one apples/oranges point that we should make explicit: I'm generally talking about perf on mobile devices.
-
-
Replying to @slightlylate @robknight_ and
Mobile dom is a lost cause, vdom runs native on mobile. Even a PWA would perform w/ purecomp, normalized state & redux sCU. Why wouldn't it?
0 replies 0 retweets 0 likesThanks. 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.