Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser support #558

Open
Rich-Harris opened this issue May 3, 2017 · 9 comments

Comments

@Rich-Harris
Copy link
Member

commented May 3, 2017

A few people have asked about browser support. We probably should be able to answer the question conclusively (maybe even running some tests in Browserstack or whatever?), and perhaps tell people which polyfills they'll need.

For example, window.performance.now isn't supported in IE9, but is used in transitions (#525 (comment)).

@kaisermann

This comment has been minimized.

Copy link
Contributor

commented Apr 18, 2018

It also doesn't (completely) work in Safari 5.1: the querySelector(':checked') always returns []

@arxpoetica

This comment has been minimized.

Copy link
Contributor

commented Apr 20, 2018

I marked this as a v1 Q, but it's also relevant to v2-- I think it's just a matter of documenting the expectations. Is this documented somewhere other than the blog post, or is that sufficient enough?

@jihchi

This comment has been minimized.

Copy link

commented Apr 23, 2018

Also, Object.create isn't supported in IE8

@JohnRiv

This comment has been minimized.

Copy link

commented Apr 23, 2018

The lack of some sort of official browser support matrix is what is preventing me from being able to use Svelte at work. IE11 & Safari 10 support is what I'm particularly interested in, although others may need support for older versions of those browsers as well.

@JohnRiv

This comment has been minimized.

Copy link

commented May 7, 2018

I haven't had a chance to try out this ESLint plugin yet, but I wonder if this will answer our question: https://github.com/instea/eslint-plugin-builtin-compat

@kaisermann

This comment has been minimized.

Copy link
Contributor

commented May 7, 2018

@JohnRiv If you want to use v2.0.0+, the ES5 constraint was dropped (#1359). I'm currently using it in a very old webkit environment by polyfilling it with @babel/preset-env and it's working fine (for now).

@mblarsen

This comment has been minimized.

Copy link

commented Apr 26, 2019

IE11 const in for not supported

for (const k in src) tar[k] = src[k];

@guilhermeocosta

This comment has been minimized.

Copy link

commented Jun 13, 2019

Any news on that? I'll probably run it with @babel/preset-env, but know which polyfills I'll need could be very helpful.

@ai

This comment has been minimized.

Copy link

commented Aug 21, 2019

It will be nice to have a browser support policy on the website or docs. Will be good for using Svelte in big business.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants
You can’t perform that action at this time.