What if we had a lightweight iframe that allows us to stream parts of the document independently: https://gist.github.com/jhnns/e4c430a5b613861e0a46e3e580d1cd81 … Thoughts? :)
-
-
Replying to @Jhnnns1 reply 0 retweets 3 likes
-
-
Replying to @slightlylate @jaffathecake and
Mhmm the problem with HTML imports is that they don't define where the content should be included.
1 reply 0 retweets 1 like -
Replying to @Jhnnns @slightlylate and
Maybe I'm a bit esoteric in this regard but it would be nice to have a solution that works without JS. Same goes for shadow dom and webcomp.
1 reply 0 retweets 2 likes -
Replying to @Jhnnns @slightlylate and
Basically, I want to server-render the initial view, stream it to the client asap and then bootstrap the JS runtime.
3 replies 0 retweets 5 likes -
Replying to @Jhnnns @slightlylate and
Isn't this just transfer encoding chunked plus an async script tag?
2 replies 0 retweets 2 likes
Important to keep JS payload small enough that TTI remains good. Have seen many failures with this pattern.
-
-
Replying to @slightlylate @nateberkopec and
And async/defer script tags don't change this, right?
1 reply 0 retweets 1 like -
Replying to @Jhnnns @slightlylate and
Definitely async helps here, but then you have a race condition.
0 replies 0 retweets 2 likes
End of conversation
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.