let foo = true;
`hello ${foo ? `Mr ${name}` : 'there'}`;
foo = false;
html`<div id="foo">Hello world</div>`;
kitten.html`<div id="foo">Hello world</div>`;
html`<div id="foo">Hello times ${10} <span id="bar">world</span></div>`;
html`
<ul id="list">
${repeat(['a', 'b', 'c'], (v) => {
return html`<li class="item">${v}</li>`;
}}
</ul>
`;
css`
body {
color: red;
}
`;
kitten.css`
body {
color: red;
}
`;
gql`query { viewer { id } }`;
kitten.gql`query { viewer { id } }`;
gql`
type Project {
name: String
tagline: String
contributors: [User]
}
`;
var foo = 10;