The Virtue of Laziness: Leveraging Incrementality for Faster Web UI (Chrome Dev Summit 2018)
HTML-код
- Опубликовано: 19 окт 2024
- If the first rule of performance is "do less," the second is surely "be lazy." Using LitElement-based web components, we’ll explore the use of bleeding-edge techniques and browser APIs to spread work out so that your UI is faster to load, render and respond to user input. Topics we’ll cover include route-based dynamic module loading, async rendering, chunked rendering, IntersectionObserver, display-locking, and scheduling long-running tasks.
Find the event schedule and more info on the website → bit.ly/2AA1R87
All Sessions playlist → bit.ly/CDS18-A...
Subscribe to the Google Chrome Developers channel! → bit.ly/ChromeD...
event: Chrome Dev Summit 2018; re_ty: Publish; product: Chrome - General; fullname: Justin Fagnani;
Template tags, just strings, of XML.
An absolutely RIDICULOUS idea.
Woow , i Can see how Google wants to push the web components use by introducing the cool features implemented by popular libraries like React, and maybe making it a standard by default. That'd be great
You've just talked about all the React concurrent features that were recently released. Are these actually implemented at the browser level?
Yes they are :)
Yeah exactly my thought. It just goes to show that they wish they had React instead of AngularJS.
Most of the methods seem to be the same, just that they've changed the name instead.
However; since this is at the browser level and for that reason probably will be slightly faster.
But we don't have to throw out everything we've already created. Maybe you can port it nicely in a few months.
Yes, I'm trying to show that you can achieve similar performance and DX results using features like Promises, async functions, and events.
@@pictureus Doesn't Angular already have granular lazy-module and bundling options using ngModule since.. long time ago?
@@pictureus Hi, what do you mean "they wish they had React instead of AngularJS"? What does Angular has to do with this?
Lit-element all day kid!
Great speaker.
Can you share the code that you presented ?
alrighty
Just use webassembly if you want faster ui.
What