Solid: [docs] browser support

Created on 9 Jun 2020  路  1Comment  路  Source: ryansolid/solid

Something I didn't see mentioned in the docs that would be useful to add - what browsers does Solid run on? What polyfills or transpiling is necessary to support older browsers?

documentation

Most helpful comment

Hmm... I guess this question is more or less the IE test these days.

Short Answer: The last 2 versions of modern evergreen browsers and Node LTS.

Longer Answer:

Non-Chromium Edge and Safari before 12.1 will need to polyfill globalThis.

As for IE I mean there are a lot of missing things, but I never considered IE when I built this library primarily on Proxies which are notoriously difficult to polyfill. It is possible to use Solid without the proxies but I imagine that would require polyfilling Promises, Symbols, and some Array methods. Honestly not sure what else since I've never given it any consideration. I think I'm ok just saying no support of IE at this point, and if someone finds a way that's awesome.

I have added the short answer to the readme and I have signed up for Open Sauce so I can add browser tests.

>All comments

Hmm... I guess this question is more or less the IE test these days.

Short Answer: The last 2 versions of modern evergreen browsers and Node LTS.

Longer Answer:

Non-Chromium Edge and Safari before 12.1 will need to polyfill globalThis.

As for IE I mean there are a lot of missing things, but I never considered IE when I built this library primarily on Proxies which are notoriously difficult to polyfill. It is possible to use Solid without the proxies but I imagine that would require polyfilling Promises, Symbols, and some Array methods. Honestly not sure what else since I've never given it any consideration. I think I'm ok just saying no support of IE at this point, and if someone finds a way that's awesome.

I have added the short answer to the readme and I have signed up for Open Sauce so I can add browser tests.

Was this page helpful?
0 / 5 - 0 ratings