Code Monkey home page Code Monkey logo

Comments (8)

rivertam avatar rivertam commented on April 28, 2024 2
  1. I believe this question is better suited for https://github.com/koute/stdweb.
  2. Maybe someone else has an answer, but why don't you build it and try it out for yourself?
  3. 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.

rivertam avatar rivertam commented on April 28, 2024 2

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.

mc1098 avatar mc1098 commented on April 28, 2024 1

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.

Boscop avatar Boscop commented on April 28, 2024

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.

koute avatar koute commented on April 28, 2024

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.

Boscop avatar Boscop commented on April 28, 2024

But everything works with IE11+?

from yew.

koute avatar koute commented on April 28, 2024

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.

dalen avatar dalen commented on April 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.