fraql:GraphQL片段变得简单:high_voltage: 源码
GraphQL片段变得简单 :high_voltage: npm install fraql graphql graphql-tools graphql-tag FraQL解决了几件事: :sun_selector: 隔离:片段不再依赖名称 :sparkles: 模拟:从片段生成数据和道具 :exploding_head: 搭配:将GraphQL放入组件中 例 import gql from 'fraql' // Create fragment without naming it. const fragment = gql ` fragment _ on Article {
下载地址
用户评论