3 ms·
> without writing a single line of JavaScript Looks like 680 lines to me: https://rustmart-yew.netlify.app/wasm.js https://rustmart-yew.netlify.app/wasm.js
by svnpenn 6y ago
> without writing a single line of JavaScript
Looks like 680 lines to me:
https://rustmart-yew.netlify.app/wasm.js https://rustmart-yew.netlify.app/wasm.js
- steveklabnik 6y agoYou do not write that JavaScript, it is generated for you by the tooling.
- svnpenn 6y agoIf the end solution relies on hundreds of lines of JavaScript... its JavaScript. I will just write the whole thing in JavaScript instead of messing with something like this.
- steveklabnik 6y agoSure, and you are very welcome to do so. That's not what the original post said, nor what you said in response, though.
- CryZe 6y agoThat's auto generated and will shrink more and more in the future as WASM gets more abilities to directly call into DOM APIs and store JS objects.
- austincheney 6y agoThere is no indication that will ever happen.