jQuery has been removed

jQuery has been removed, 新的项目不要用jQuery了

这些问题都已经有了解决方案

* $()选择器,

* $.ajax,

* $dom.on("click", function() {}), 

* HTML5 API兼容

* 自定义html标签

对应如下:

* querySelectorAll

- http://youmightnotneedjquery.com/

* fetch for ajax
- https://github.com/github/fetch

* delegated-events for event handling
- https://github.com/dgraham/delegated-events

* polyfills for standard DOM stuff
http://philipwalton.github.io/polyfill/

* CustomElements on the rise
- https://github.com/search?q=topic%3Aweb-components+org%3Agithub

猜你喜欢

转载自www.cnblogs.com/mingzhanghui/p/9375781.html