前端技术
梁谦Charles
这个作者很懒,什么都没留下…
展开
-
GraphQL的应用
1. graph QL 基本概念a. 什么是GraphQL?官网定义如下:GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. It gives clients the power to ask for exactly what th...原创 2019-02-28 14:17:18 · 633 阅读 · 0 评论 -
Lodash 常见的方程用法
Lodash Common function Collection1. reduce.reduce(collection, [iteratee=.identity], [accumulator])Reduces collection to a value which is the accumulated result of running each element in collecti...原创 2019-02-24 21:43:02 · 341 阅读 · 0 评论 -
GraphQL的代码实践
1. Good and Bad on GraphQL普通的Query 是去查询数据库,而GraphQL 是去查询API, 这个可以给予开发他们所需的所有数据,不多不少i. Good side of GraphQLa. 精准抓取数据GraphQL minimizes the amount of data which is transferred across the wire by bei...原创 2019-03-13 08:31:20 · 421 阅读 · 0 评论