![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ES6
One-Direction
这个作者很懒,什么都没留下…
展开
-
render: h => h(App)
render: h => h(App) 是下面内容的缩写:render: function (createElement) { return createElement(App);}进一步缩写为(ES6 语法):render (createElement) { return createElement(App);}再进一步缩写为:render (h){ ...原创 2019-08-08 10:18:16 · 294 阅读 · 0 评论 -
fetch
前言The Fetch API provides an interface for fetching resources (including across the network). It will seem familiar to anyone who has used XMLHttpRequest, but the new API provides a more powerful and...原创 2019-08-08 09:53:40 · 330 阅读 · 0 评论