Andrey (azangru) wrote,
Andrey
azangru

Google has finally become ready to promote its Lit ecosystem properly. I thought they were going to make their announcements at the coming Google IO; but, to my surprise, they preempted that by holding a virtual event today where they announced the release of the new major version of the library, with the updates that address most of the concerns that I had when I tried to use LitElement in anger for the first time.

- There is a way to separate component's state from component's properties. Apparently it existed even before this update; but the docs weren't very clear on that. The docs were rather niggardly in the information they supplied, I must say.
- There is a proposal for a browser api to encapsulate the declarations of custom elements within their hosts. Which is clumsier than what we get with frameworks, but at least makes web components more suitable for large codebases.
- There is a convenient way to share common functionality between components.
- There is support of server-side rendering.

All in all, pretty uplifting stuff. But of course I am now entrenched in React at work.

Subscribe

  • (no subject)

    Which/whose corporate interests is he talking about? Which corporations are interested in what? I am so confused.

  • (no subject)

    Two appearances of Noam Chomsky, in which he goes hard on the unvaccinated. Take, traffic rules, he says. Suppose, he says, I don't want to…

  • (no subject)

    Joe Rogan's episode with Michael Shellenberger is very good.

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments