Ultra Fast as only the context is tracked not the element.
import{html,render}from'lit-html';// A lit-html template uses the `html` template tag:letsayHello=(name)=>html`<h1>Hello ${name}</h1>`;// It's rendered with the `render()` function:render(sayHello('World'),document.body);// And re-renders only update the data that changed, without VDOM diffing!render(sayHello('Everyone'),document.body);
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Discussion on: Web Components using LIT-HTML and LIT-ELEMENT
For further actions, you may consider blocking this person and/or reporting abuse