惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Exploit Database - CXSecurity.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Cloudflare Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
Security Affairs
N
News and Events Feed by Topic
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
Attack and Defense Labs
Attack and Defense Labs
Google Online Security Blog
Google Online Security Blog
MongoDB | Blog
MongoDB | Blog
N
News and Events Feed by Topic
Recent Commits to openclaw:main
Recent Commits to openclaw:main
WordPress大学
WordPress大学
Security Latest
Security Latest
Apple Machine Learning Research
Apple Machine Learning Research
L
LINUX DO - 最新话题
博客园 - 三生石上(FineUI控件)
Scott Helme
Scott Helme
U
Unit 42
Cyberwarzone
Cyberwarzone
博客园_首页
F
Full Disclosure
月光博客
月光博客
罗磊的独立博客
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
小众软件
小众软件
Recent Announcements
Recent Announcements
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
The Hacker News
The Hacker News
Help Net Security
Help Net Security
GbyAI
GbyAI
Y
Y Combinator Blog
博客园 - 聂微东
Security Archives - TechRepublic
Security Archives - TechRepublic
Jina AI
Jina AI
S
Schneier on Security
Martin Fowler
Martin Fowler
The Last Watchdog
The Last Watchdog
D
DataBreaches.Net
T
Tor Project blog
V
Visual Studio Blog
博客园 - 【当耐特】
T
Troy Hunt's Blog
G
Google Developers Blog
有赞技术团队
有赞技术团队
Google DeepMind News
Google DeepMind News

Polymer

如何将 Polymer 组件中的函数用在模板中? - V2EX 父节点竟然是 Google,不应该是前端吗? - V2EX
About Polymer 2.0 - V2EX
iugo · 2016-11-29 · via Polymer

https://www.polymer-project.org/2.0/docs/about_20

之所以发布 2.0 版本主要基于以下两个标准:

the new custom elements v1
shadow DOM v1

文档宣称这两项标准是正在被大多数浏览器厂家支持的. (正在是什么时候? 大多数包括国内厂家吗?)

2.0 版本要给大家一个**平滑的过度升级**.

还有以下几点提升:

1. 提升互通性. 就是尽量可以与其他开源项目 /你之前的项目共同使用. (难道要兼容 jQuery 了?)
2. 改进数据系统, 就像 Flux. (哈哈)
3. 更多的标准化. 比如使用了 ES6 的 classes, 使用了(上面提到的) custom elements v1.

在非 Chrome 浏览器中肯定还是有问题的, 目前还在开发中嘛. 而且, 如果你要尝试, 最好使用 Chrome Canary (喜欢尝鲜的开发者一般不使用稳定版吧).

---

关于甩锅: However, since Apple has said it will not implement is, we will not be encouraging its use to avoid indefinite reliance on the custom elements polyfill.