News for hackers. Stuff that matters.
Re:The web as a GUI toolkit by spankalee on Thursday February 13, 2020 @05:06PM (#22321903)
You might like lit-html, which has a very similar structure as JSX, but does so with standard JavaScript: https://lit-html.polymer-project.org/

React:

    const Welcome = (props) => <h1>Hello, {props.name}</h1>;
    ReactDOM.render(<Welcome name="Taylor" />, document.getElementById('react-welcome'));
lit-html:

    const welcome = (name) => html`<h1>Hello, ${name}</h1>`;
    render(welcome('lit-html'), document.getElementById('lit-welcome'));
Re:The web as a GUI toolkit by Scarbutt on Thursday February 13, 2020 @05:18PM (#22322000)
What do you get in return for losing all the react ecosystem?
Re:The web as a GUI toolkit by spankalee on Thursday February 13, 2020 @05:36PM (#22322112)
Less required tooling, better performance, smaller bundle sizes, and more interoperability.
Re:The web as a GUI toolkit by zelcon on Thursday February 13, 2020 @11:13PM (#22323905)
disclosure: this is your project