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

What version of the browser support ? #438

Closed
cheft opened this issue Nov 17, 2016 · 6 comments
Closed

What version of the browser support ? #438

cheft opened this issue Nov 17, 2016 · 6 comments
Labels
reason-closed:resolved The question was answered, the bug was fixed, or the feature was implemented type:question A question about how to do something in Marko

Comments

@cheft
Copy link

cheft commented Nov 17, 2016

Open Questions

What version of the browser support ?

@Hesulan
Copy link
Contributor

Hesulan commented Nov 17, 2016

@cheft

None of the built-in tags currently generate anything above ES5. You can find a detailed compatibility table for all major browsers here.

The compiler currently requires at least partial ES6 support (Node.js 4+). If you're not already compiling your templates before sending them to the browser, you really should.

The renderer runs in all modern browsers; if you need to support older browsers (like IE8), you will need to transpile the renderer and the compiled (".marko.js") templates with Babel before serving them to the client.

@mlrawlings
Copy link
Member

@cheft, Marko v4 will be IE9+, so I would plan for that, but I believe we're currently IE8+ on v3.

I'm going to close this, but feel free to ask if you have more questions.

@mlrawlings mlrawlings added reason-closed:resolved The question was answered, the bug was fixed, or the feature was implemented type:question A question about how to do something in Marko labels Nov 17, 2016
@TomHuang204
Copy link

TomHuang204 commented Jun 16, 2017

@mlrawlings ,hi, may i ask what version of the browser support now? we have some issues with IE by using Marko v4.

@mlrawlings
Copy link
Member

@TomHuang204 If's IE 9 or higher, please open an issue for what you're seeing and we'll take a look. AFAIK, nothing has been introduced that is intentionally incompatible with IE.

@TomHuang204
Copy link

TomHuang204 commented Jun 16, 2017

@mlrawlings ,hi, it was my mistake. I made some mistakes when using the lasso-babel-transform and the babel-polyfill. Anyway, there has no issues about the IE support. Thanks.
By the way, I have a question, it is about the 'fingerprintsEnabled' option of the lasso. I know this is used for cache busting. Under my understanding, there will be a file with a shasum for each template after the template has been made in the first time, the browser will request this file to render the page. But under our production env of my department(ebay), there is a load-balance server between the server machines and the browsers of customers. So, requests from a page may not arrive at the same machine. If I set the 'fingerprintsEnabled' to true, the files(xxx.js, xxx.css) with a certain shasum will not be found. So, if there is a load-balance server between our machines and the browsers, is my only choice to set the 'fingerprintenabled' to false?
Sorry for my poor English, thanks.

@lsycxyj
Copy link

lsycxyj commented Jul 6, 2017

@mlrawlings Will it work in IE8+ with ES5 shimming?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reason-closed:resolved The question was answered, the bug was fixed, or the feature was implemented type:question A question about how to do something in Marko
Projects
None yet
Development

No branches or pull requests

5 participants