Best of DOMNovember 2021

  1. 1
    Article
    Avatar of logrocketLogRocket·4y

    Introduction to Svelte Actions

    Svelte actions are one of the less commonly used features. An action allows you to run a function when an element is added to the DOM. They can greatly simplify your code and allow you to reuse bits of logic. In this post, I’ll give two examples where a Svelte action would be useful and show why an action is the right tool for the job.

  2. 2
    Article
    Avatar of ionicIonic Blog·5y

    Announcing Stencil v2.10

    Stencil v2.10 is now available. New features include greater control over the shadow DOM, a fix that results in fewer render cycles, and support for TypeScript 4.3. We’re really excited about all of these new improvements and look forward to seeing what you build with Stencil.