Comments (8)
- I believe this question is better suited for https://github.com/koute/stdweb.
- Maybe someone else has an answer, but why don't you build it and try it out for yourself?
- Personally, I would highly not recommend using this for commercial apps in production. Typically, semantic versions < 1.0.0 (this crate has a current version of 0.3.0) are never recommended for use in production due to unstable APIs and general lack of maturity.
from yew.
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.
from yew.
Hi 👋,
I agree that having browser compatibility information would be really helpful but as Yew is still in a state of constant flux this is a moving target. I worry defining the compatibility then might lead Yew into having to worry about backwards compatibility for browsers as it moves through versions which isn't what Yew should be worried about before "1.0.0".
#1948 was a similar issue raised and was closed due to the maintenance burden of keeping track of compatibility.
Once Yew gets closer to "1.0.0" then I completely agree that this would be invaluable to have!
I am going to close this issue for now - please let me know if you don't agree with this otherwise happy coding ❤️
from yew.
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 :)
from yew.
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.
from yew.
But everything works with IE11+?
from yew.
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.
from yew.
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.
from yew.
Related Issues (20)
- yew-router example does not compile HOT 5
- Yew 0.21 and Prokio 0.1.0 use different versions of Gloo
- Can't use `Self` in generic when deriving `Properties`
- Tutorial proxy-backend returning `index.html` not json? HOT 5
- use_effect lacks documentation HOT 2
- Tutorial uses String not AttrValue
- File based Routing HOT 1
- Caution about navigator callbacks in functional components is confusing
- Yew Agent documentation
- When passing `Classes` in `html!`, component props don't need `.clone()`, but element props do HOT 1
- [Feature]: Provide a `Default` trait implementation for the `UseStateHandle` struct HOT 2
- Japanese documents are out of date
- Context with Rc<Refcell<T>> reducer type has unexpected behavior HOT 1
- Why not provide some Form components? HOT 1
- SSR + hydration results in a stalled request
- I am unable to build even the simplest Yew applications using Rust 1.76 and running under macOS 14.3 HOT 1
- Blob download encoding
- `VRaw` namespace support for `svg` contents.
- Issue with change detection? HOT 4
- Port issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yew.