Why is Lit so fast? 🔥 (30% faster rendering than React!)

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

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

  • @bamboooholic
    @bamboooholic 2 года назад +5

    Really nice deep dive! I only wish there would be an official and polished language server from the lit team for code editors and IDE´s, because what we currently have makes it awful to work with lit for some parts. Otherwise than that Lit is awesome!

    • @vaadinofficial
      @vaadinofficial  2 года назад +4

      Agreed. I asked the Lit team and they said "We're starting to maintain the lit-analyzer and vs code plugin. Publishing a standalone language server probably makes sense" so it seems like this might be happening soon 🤞

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

    Sounds to me like some of those optimization should take place on the browser itself

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

      Most of the heavy lifting is done by the browser already. Web components arose from the Extensible Web Manifesto (github.com/extensibleweb/manifesto) way of thinking: that browsers should expose standardized low-level APIs that allow library developers to build the kind of high-level APIs they think are appropriate. If the browser provided a standard templating API, it might be good for most use cases, but if you wanted to do something differently, it would be difficult to customize without going into user-land JS solutions.

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

      @@vaadinofficial Correct but I'm taking about all of the things you've talked about regarding updating only what's necessary with all of the regexs etc.

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

    Imagine using Lit with Vite. Yeah, I'm talking about them rhyming.

    • @vaadinofficial
      @vaadinofficial  2 года назад +3

      I don't need to imagine, I do it all the time. It's excellent.

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

    Vaadin 23 videos coming?

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

      Definitely. Do you have any specific videos you’d like to see?

    • @Joe_Brig
      @Joe_Brig 2 года назад +1

      @@vaadinofficial One video could show the changes introduced from 14 to 23. For the developers who didn't upgrade on each release but stayed on the LTS.

  • @mgmityu
    @mgmityu Год назад

    Bro, you are a good professional, but a very weak speakesman. Sorry.

    • @PascalVos
      @PascalVos 10 месяцев назад +1

      and your very bad at giving feedback :)