reason-apollo:Apollo客户端和React Apollo的原因绑定

时间:2021-02-26 22:41:06
【文件属性】:
文件名称:reason-apollo:Apollo客户端和React Apollo的原因绑定
文件大小:874KB
文件格式:ZIP
更新时间:2021-02-26 22:41:06
Reason 原因阿波罗 用ReasonMLReact阿波罗 安装和设置 安装 yarn add reason-apollo # Add graphql_ppx yarn add @baransu/graphql_ppx_re --dev bsconfig 将reason-apollo添加到您的bs-dependencies并将@baransu/graphql_ppx_re/ppx到您的ppx-flags bsconfig.json "bs-dependencies": [ "reason-react", "reason-apollo" ], "ppx-flags": [ "@baransu/graphql_ppx_re/ppx" ] 发送自省查询 这将生成一个graphql_schema.json ,它将用于安全地键入您的GraphQL查询/突变。 npx get-graphql
【文件预览】:
reason-apollo-master
----.gitattributes(30B)
----.github()
--------ISSUE_TEMPLATE.md(426B)
--------PULL_REQUEST_TEMPLATE.md(387B)
----yarn.lock(83KB)
----src()
--------graphql-types()
--------ApolloLinks.re(3KB)
--------ApolloProvider.re(182B)
--------ReasonApolloUtils.re(316B)
--------ApolloInMemoryCache.re(2KB)
--------ApolloConsumer.re(353B)
--------ApolloUtilities.re(220B)
--------ReasonApolloTypes.re(2KB)
--------ReasonApollo.re(1KB)
--------ApolloClient.re(3KB)
----bsconfig.json(433B)
----.npmignore(8B)
----examples()
--------pr()
--------realtime-chat-application()
--------README.md(62B)
--------swapi()
----CONTRIBUTING.md(9KB)
----.travis.yml(147B)
----LICENSE(1KB)
----README.md(8KB)
----.gitignore(342B)
----package.json(1KB)

网友评论