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

推荐订阅源

W
WeLiveSecurity
The Last Watchdog
The Last Watchdog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
G
Google Developers Blog
博客园 - 叶小钗
雷峰网
雷峰网
人人都是产品经理
人人都是产品经理
博客园_首页
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 三生石上(FineUI控件)
Help Net Security
Help Net Security
Cloudbric
Cloudbric
AI
AI
N
News | PayPal Newsroom
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 【当耐特】
Forbes - Security
Forbes - Security
美团技术团队
Stack Overflow Blog
Stack Overflow Blog
SecWiki News
SecWiki News
H
Heimdal Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
S
Security @ Cisco Blogs
Google DeepMind News
Google DeepMind News
V
V2EX
大猫的无限游戏
大猫的无限游戏
阮一峰的网络日志
阮一峰的网络日志
S
Security Affairs
L
LangChain Blog
The Hacker News
The Hacker News
F
Full Disclosure
aimingoo的专栏
aimingoo的专栏
Hacker News - Newest:
Hacker News - Newest: "LLM"
腾讯CDC
Webroot Blog
Webroot Blog
A
About on SuperTechFans
H
Hacker News: Front Page
Cyberwarzone
Cyberwarzone
WordPress大学
WordPress大学
L
LINUX DO - 热门话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Attack and Defense Labs
Attack and Defense Labs
M
MIT News - Artificial intelligence

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.