Rest of what junk - sorry, you lost me
-
-
Replying to @AdamRackis @pfrazee and
Framework abstractions for a separate component model.
2 replies 0 retweets 5 likes -
Replying to @slightlylate @pfrazee and
Not all junk - I trust you've seen the crazy async / non-blocking stuff React team's been working on?
2 replies 0 retweets 2 likes -
Replying to @AdamRackis @pfrazee and
Yep, and those sorts of things are possible on top of Web Components too. Delaying instantiation work is pretty easy.
2 replies 0 retweets 9 likes -
Replying to @slightlylate @AdamRackis and
Andrew Clark Retweeted Andrew Clark
Have you seen this demo? I can see how you’d get to step 2 with Web Components, but not step 3.https://twitter.com/acdlite/status/909926793536094209 …
Andrew Clark added,
2 replies 0 retweets 5 likes -
Replying to @acdlite @slightlylate and
The Async Append proposal covers this same problem space, though notably it doesn’t do updates, only insertionshttps://github.com/WICG/async-append …
1 reply 0 retweets 4 likes -
Replying to @acdlite @AdamRackis and
To get chunkable WC instantiation, you make your "upgrades" two-phase where you move most work to another method and have "thin" ctors.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @acdlite and
...the thin ctors then register with something that does chunking (if you want). Easy to make this a mixin.
2 replies 0 retweets 0 likes -
Replying to @slightlylate @acdlite and
The insight here is that creating thousands of JS/DOM objects isn't slow; side-effect work of template/config-reaction can be.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @acdlite and
So moving that out to a separate phase that can be chunked separate from DOM construction is both easy and cheap.
1 reply 0 retweets 0 likes
...but all of this is in the "measure first" bucket for me. I don't see most Polymer apps up against this wall.
-
-
Replying to @slightlylate @acdlite and
...and it's almost always better to just make your system go faster to get under the bar than to add more complexity.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @acdlite and
Another important point here is that per-component costs are lower when you're not paying all the VDOM/diffing overhead.
6 replies 0 retweets 2 likes - 10 more replies
New conversation -
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.