Re: [WICG/webcomponents] [templates] A declarative JavaScript templating API (Issue #1069)

franciscop left a comment (WICG/webcomponents#1069)

I think you are missing an arrow in the original comment:

```js
const {html} = HTMLElement;

const renderPost = (title, summary) => html`
  <h1>${title}</h1>
  <p>${summary}</p>
`;
```

Arrow added here: `(title, summary) => html`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1069#issuecomment-3011201679
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1069/3011201679@github.com>

Received on Friday, 27 June 2025 02:59:51 UTC