How big is the resulting app js file for TodoMVC with asm.js?
Would you recommend it for commercial apps in production that need to target old browsers like IE8 on WinXP and Safari on iPhone4?
I'd prefer to use this at my job (compared to Elm which is very verbose) :)
I don't mind living on the edge, I also use rustc nightly in production (rocket needs it) etc.
But I care about the size of the app js file..
I'll see if I can get emscripten to work and test with asm.js, just thought someone had already done it maybe :)
Subjectively, Yew is in a far more experimental state than Rust nightly/Rocket. I can't speak for everyone, but I have serious doubts any contributors would recommend using Yew in production in its current state.
The support for old browsers (like IE8 and such) is limited by what Emscripten supports. I don't remember what minimum version of IE it supports, but for those old IE versions you need to disable certain Emscripten features to get it working (e.g. IE9 doesn't support typed arrays so you need to pass some magic linking flag to Emscripten [which I don't remember] to get it to load). Also, I never tested stdweb on anything else than IE11, so there is a significant chance it won't work on something older.
But everything works with IE11+?
No idea; I tested that a long time ago. It may or may not work. If it doesn't then it should be possible to make it work without much trouble, I think.
There are also some webasm polyfills that might help with IE11 support, I haven't tried them myself, but have seen live demos of them.
Most helpful comment
Subjectively, Yew is in a far more experimental state than Rust nightly/Rocket. I can't speak for everyone, but I have serious doubts any contributors would recommend using Yew in production in its current state.