Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-apollo

> 前端框架
Open source

:recycle: React integration for Apollo Client

6.8K stars0 likes5 views
WebsiteGitHub

About

:recycle: React integration for Apollo Client

React Apollo


⚠️ 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

  • @benjamn (Apollo)
  • @hwillson (Apollo)

Issues· 205 open

View all issuesOpen on GitHub
  • #3644

    useQuery infinite loop re-rendering

    Updated Jul 20, 2020
  • #3709

    onCompleted not called when useQuery refetch finished

    Updated Jul 19, 2020
  • #3678

    SSR not waiting for queries to resolve

    reproduction-neededUpdated Jul 18, 2020
  • #4044

    useQuery with onCompleted: infinite loop.

    Updated Jul 17, 2020
  • #3492

    "Skip" property of useQuery hook has no effect

    reproduction-neededUpdated Jul 17, 2020
  • #4040

    Breaking change in 3.1.5 in `useLazyQuery`

    Updated Jul 16, 2020
  • #3899

    `onCompleted` does not receive mocked data from MockedProvider

    Updated Jul 16, 2020
  • #3750

    defaultOptions for ApolloClient is being ignored (awaitRefetchQueries)

    Updated Jul 15, 2020
  • #3854

    Typescript TS2322 error with typescript 3.8.2

    Updated Jul 14, 2020
  • #4042

    useQuery returning undefined

    Updated Jul 13, 2020

> Tags

JavaScriptapollographqlreactredux

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 23, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架