@8base/apollo-client
Advanced tools
Weekly downloads
Readme
The Apollo Client library contains an extended implementation of ApolloClient that includes several links to work with 8base services.
Extends ApolloClient
Extends Apollo Client by 8base several links.
config
Object The Apollo Client config.
config.uri
string Endpoint of the GraphQl server.config.getAuthState
Function Used to retrieve authentication state.config.getRefreshTokenParameters
Function Used to retrieve the refresh token parameters.config.onAuthSuccess
Function Callback that is executed when an attempt to refresh authentication is successful.config.onAuthError
Function? Callback which is executed when an attempt to refresh authentication fails.config.onIdTokenExpired
Function? Callback which is executed when id token is expired.config.onRequestSuccess
Function? Callback which is executed when a request is successful.config.onRequestError
Function? Callback which is executed when a request failsconfig.extendLinks
Function? Function that extends standard array of links.Returns any instance of the Apollo Client
FAQs
The Apollo Client library contains an extended implementation of [ApolloClient](https://www.apollographql.com/docs/react/api/apollo-client.html) that includes several links to work with 8base services.
The npm package @8base/apollo-client receives a total of 820 weekly downloads. As such, @8base/apollo-client popularity was classified as not popular.
We found that @8base/apollo-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.