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;

Комментарии • 16

  • @TesterAnimal1
    @TesterAnimal1 2 года назад

    Template tags, just strings, of XML.
    An absolutely RIDICULOUS idea.

  • @TheMagnificientMan
    @TheMagnificientMan 6 лет назад +2

    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

  • @LucaMatteis
    @LucaMatteis 6 лет назад +6

    You've just talked about all the React concurrent features that were recently released. Are these actually implemented at the browser level?

    • @paales2
      @paales2 6 лет назад

      Yes they are :)

    • @pictureus
      @pictureus 6 лет назад

      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.

    • @JustinFagnani
      @JustinFagnani 6 лет назад +4

      Yes, I'm trying to show that you can achieve similar performance and DX results using features like Promises, async functions, and events.

    • @adiorthotos
      @adiorthotos 6 лет назад

      @@pictureus Doesn't Angular already have granular lazy-module and bundling options using ngModule since.. long time ago?

    • @chethelesser
      @chethelesser 5 лет назад

      @@pictureus Hi, what do you mean "they wish they had React instead of AngularJS"? What does Angular has to do with this?

  • @CodingPhase
    @CodingPhase 6 лет назад +1

    Lit-element all day kid!

  • @GorillaDevFB
    @GorillaDevFB 5 лет назад

    Great speaker.

  • @p3ngxin
    @p3ngxin 5 лет назад

    Can you share the code that you presented ?

  • @DOOF1
    @DOOF1 6 лет назад

    alrighty

  • @computervision557
    @computervision557 5 лет назад

    Just use webassembly if you want faster ui.