News for hackers. Stuff that matters.
Re:TinyJS – Shorten JavaScript QuerySelect with $ and $$ by nikeee on Wednesday October 02, 2024 @04:34PM (#41724730)
You can use tagged template functions to escape `${text}`. The result is pretty close to lit-html [1].

[1]: https://lit.dev/docs/v1/lit-html/introduction/

Re:TinyJS – Shorten JavaScript QuerySelect with $ and $$ by tomp on Wednesday October 02, 2024 @04:38PM (#41724760)
beautiful!