const helloTemplate = (name) => html`Hello ${name}!`; // renders Hello Steve! to the document body render(helloTemplate('Steve'), document.body); // updates to Hello Kevin!, but only updates the ${name} part render(helloTemplate('Kevin'), document.body);