solidjs / solid

A declarative, efficient, and flexible JavaScript library for building user interfaces.
https://solidjs.com
MIT License
31.64k stars 887 forks source link

What is the minimum browser support for SolidJS? #2163

Closed cyfung1031 closed 1 month ago

cyfung1031 commented 1 month ago

I find that it cannot be used in Waterfox Classic.

Would you please suggest the minimum browser requirement?

SolidJS playground

Screen Shot 2024-05-19 at 15 12 30
atk commented 1 month ago

At least for stores, you need proxy object support: https://caniuse.com/proxy

ryansolid commented 1 month ago

If we were advertise minimum browser versions the newest features we leverage are globalThis and Proxies. A decent amount of stuff can be polyfilled, but not Proxies. But I think Chrome 48 is the lowest version that runs stock. I'm not sure about the others. The hard part is that Solid came out after the age of evergreen browsers so for 99% of users we could say the last 5 versions or something and be fine since proxies don't work in IE11 it was never supported. Basically every major browser created after 2015 supported Solid. Other lower power devices though have stricter constraints. We do have the ability to to run without proxies and my understanding is there are TV devices running on Chrome 38 with Solid, but I doubt something like the playground is built that strictly.