@apollo/react-hooks
Version:
React Apollo Hooks.
22 lines (13 loc) • 1.13 kB
Markdown
# <a href="https://www.apollographql.com/"><img src="https://user-images.githubusercontent.com/841294/53402609-b97a2180-39ba-11e9-8100-812bab86357c.png" height="100" alt="React Apollo"></a>
## React Apollo - Hooks
[](https://badge.fury.io/js/%40apollo%2Freact-hooks)
[](https://circleci.com/gh/apollographql/react-apollo)
[](https://spectrum.chat/apollo)
React Apollo `useQuery`, `useLazyQuery`, `useMutation`, `useSubscription` and `useApolloClient` hooks.
### Installation
```
npm install @apollo/react-hooks
```
### Documentation
All Apollo Client documentation, including React Apollo usage articles and helpful recipes, lives on [https://www.apollographql.com/docs/react/](https://www.apollographql.com/docs/react/)
For the React Apollo API reference, visit [https://www.apollographql.com/docs/react/api/react-apollo.html](https://www.apollographql.com/docs/react/api/react-apollo.html)