News for hackers. Stuff that matters.
Re:TypeScript 5.0 by maxloh on Friday March 17, 2023 @01:46PM (#35200353)
You still need to run JavaScript functions to manipulate the DOM. "without ever touching JS/TS" seems misleading as that implies "no JavaScript code is executed".
Re:TypeScript 5.0 by nicoburns on Friday March 17, 2023 @09:12PM (#35205016)
When I read "touched" I don't think "executed". I think "edited". There is C code executed when I run JavaScript, but that doesn't mean that I had to touch it. Similarly, all the JS run when accessing the DOM from Rust is generated by the library. The user of the library doesn't have to touch it.