Angular 2.0是否支持Opera Mini [英] Does Angular 2.0 Support Opera Mini
问题描述
给出这篇文章:
http://www.infoq.com/news/2014/03/angular-2-0
Angular 2.0将支持Opera,但未提及Opera Mini.我想这意味着将不会提供支持,但希望在注销本来对我们来说是一个很好的框架之前进行一些确认.
Angular 2.0 will support Opera but does not mention Opera Mini. I suppose that means there will not be support but would like some confirmation before writing off what would otherwise be a wonderful framework for us.
背景:我正在为东非地区开发,在某些国家,Opera Mini可以构成80%以上的流量.
Background: I'm developing for the East Africa region where Opera Mini can compose over 80% of traffic in some countries.
推荐答案
自那篇文章以来,规范已经更新(我认为它们现在已经降到IE9了),但是Opera Mini确实具有劣质的javascript支持,因此可以使用任何客户端框架是一个坏主意.他们可能会工作,因为他们确实有一些支持,但不要指望它.
The specs have been updated since that article (I think they now go down to IE9), but Opera Mini has really shoddy javascript support so using any client-side framework for it is a bad idea. They may work since they do have some support, but don't count on it.
通常,如果您80%的用户使用的是Opera mini,请不要使用SPA.实际上,您可能希望完全避免使用javascript,使用类似Django的方法会更安全,并且可能会导致用户下载的页面变小(并且保存数据是人们使用Opera mini的主要原因之一).
In general, if 80% of your users are on opera mini, don't use a SPA. In fact, you may want to avoid javascript completely, using something like Django would be a much safer option and it would probably result in a smaller page for the user to download (and saving on data is one of the prime reasons people use Opera mini).
这篇关于Angular 2.0是否支持Opera Mini的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!