当前位置: 首页 > 软件库 > 大数据 > 数据查询 >

react-apollo

♻️ React integration for Apollo Client
授权协议 MIT License
开发语言 Java
所属分类 大数据、 数据查询
软件类型 开源软件
地区 不详
投 递 者 鲜于谦
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

React Apollo

React Apollo

Join the community on Spectrum


⚠️ THIS PROJECT HAS BEEN DEPRECATED ⚠️

Please note that 4.0.0 is the final version of all React Apollo packages. React Apollo functionality is now directly available from @apollo/client >= 3. While using the @apollo/react-X packages will still work, we recommend using the following imports from @apollo/client directly instead:

  • old: @apollo/react-components --> new: @apollo/client/react/components
  • old: @apollo/react-hoc --> new: @apollo/client/react/hoc
  • old: @apollo/react-ssr --> new: @apollo/client/react/ssr
  • old: @apollo/react-testing --> new: @apollo/client/testing
  • old: @apollo/react-hooks --> new: @apollo/client

Moving forward, all Apollo + React issues / pull requests should be opened in the apollo-client repo. Please refer to the Apollo Client migration guide for more details.


React Apollo allows you to fetch data from your GraphQL server and use it in building complex and reactive UIs using the React framework. React Apollo may be used in any context that React may be used. In the browser, in React Native, or in Node.js when you want to do server-side rendering.

Documentation

All Apollo Client documentation, including React Apollo usage articles and helpful recipes, lives on https://www.apollographql.com/docs/react/

For the React Apollo API reference, visit https://www.apollographql.com/docs/react/api/react-apollo.html

Maintainers

  • 声明: 转载请注明出处 官网 1.简介 react-apollo是Apollo数据栈在React环境的集成包之一,要在React里使用Apollo数据栈前端至少需要三个包:apollo-client、graphql-tag和react-apollo,apollo-client用于连接到Apollo后端,graphql-tag用于编写GraphQL查询,react-apollo用于执行GraphQL

 相关资料
  • A React + Apollo + GraphQL GitHub Client Features React 16 with create-react-app Responsive React Router 4 Apollo with GitHub GraphQL API Queries and Mutations with render props Optimistic Updates Pag

  • High performance Next + React + GraphQL starter kit The purpose of this starter kit is not to be complete solution, but introduction for creating high performance websites with Next.js, React and Grap

  • github-react-native-apollo-graphql Alpha version coming soon �� This project is under development...

  • 我有一个突变,看起来像这样: 它作为传递到我的React组件中。 查看GraphiQL中的API,我看到变异具有以下参数: 我在这里漏掉了什么?

  • 我是Apollo/GraphQL的新手,我正试图在一个新建项目中正确地完成身份验证。我的身份验证提供程序是AWS。我编写了一个cognito helper模块来与它交互。 虽然我不太确定如何同步我的apollo客户端与我的auth状态。 现在,我只是通过在react组件处理程序中调用这些函数来处理我的登录。我配置了一个apollo-link,用于添加auth头。将我的JWT令牌数据注入到后端的上下

  • 我正在关注youtube上的graphql教程(https://www.youtube.com/watch?v=ed8SzALpx1Q大约3小时16分钟),部分使用“react apollo”中的“compose”。然而,我得到了一个错误,因为新版的react apollo没有导出这个。 我在网上读到,我需要将来自“react apollo”的导入{compose}替换为来自“recompose”