
JavaScript
吴琛
这个作者很懒,什么都没留下…
展开
-
GraphQL
转自: http://www.ayqy.net/blog/graphql/写在前面本文第一部分翻译自REST 2.0 Is Here and Its Name Is GraphQL,标题很有视觉冲击力,不小心上钩了剩余部分是对GraphQL的思考。现在,我们边看译文边汇聚疑问一.译文GraphQL是一种API查询语言。虽然与REST有本质区别,但GraphQL可以作为REST的...转载 2019-01-03 20:55:18 · 1596 阅读 · 0 评论 -
module.exports与exports,export与export default之间的关系和区别
转自:https://www.cnblogs.com/fayin/p/6831071.htmlhttps://www.jianshu.com/p/edaf43e9384f 首先我们要明白一个前提,CommonJS模块规范和ES6模块规范完全是两种不同的概念。CommonJS模块规范Node应用由模块组成,采用CommonJS模块规范。根据这个规范,每个文件就是一个模块,有自...转载 2018-12-30 12:24:19 · 357 阅读 · 0 评论 -
axios delete
参考:https://stackoverflow.com/questions/51069552/axios-delete-request-with-body-and-headersfunction stopFollowAuthor(authorname) { const requestOptions = { headers: Object.assign({},...原创 2019-07-31 10:20:42 · 498 阅读 · 0 评论