Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The web as a GUI toolkit. Parent comment
React:
const Welcome = (props) => <h1>Hello, {props.name}</h1>; ReactDOM.render(<Welcome name="Taylor" />, document.getElementById('react-welcome'));
const welcome = (name) => html`<h1>Hello, ${name}</h1>`; render(welcome('lit-html'), document.getElementById('lit-welcome'));
React:
lit-html: