two.js icon indicating copy to clipboard operation
two.js copied to clipboard

Minimum supported browser versions?

Open adroitwhiz opened this issue 4 years ago • 3 comments

Currently, the README and website for Two.js state that it's geared towards "modern browsers". However, that phrase has been there since the beginning of the project, back when IE9 was considered "modern".

It would be nice to explicitly state which browsers Two.js does and does not support, and potentially bump the versions up so that the codebase can make use of some very helpful JavaScript features that don't exist in older browsers (e.g. the Map would be useful for implementing a texture registry).

A more explicit browser compatibility table would also help in cleaning out parts of the codebase that exist solely to support older browsers that need not be supported.

adroitwhiz avatar Mar 11 '20 01:03 adroitwhiz

Yes, this is a great idea and feature!

jonobr1 avatar Mar 11 '20 07:03 jonobr1

Is there any change about this?

njh7799 avatar Mar 25 '22 04:03 njh7799

There isn't a table showing what browsers are supported. Given that all major browsers are self updating (including new ones like Brave and lessee used ones like Opera), I expect Two.js should work in virtually every environment.

Now, on something like Raspberry Pi, the performance may not be great. But, it should work.

In regards to major updates, the codebase has had some redactors in the last year to make it ES6 compliant.

jonobr1 avatar Mar 25 '22 05:03 jonobr1