The Apollo Client library contains an extended implementation of ApolloClient that includes several links to work with 8base services.
Extends Apollo Client by 8base several links.
configObject The Apollo Client config.
config.uristring Endpoint of the GraphQl server.
config.getAuthStateFunction Used to retrieve authentication state.
config.getRefreshTokenParametersFunction Used to retrieve the refresh token parameters.
config.onAuthSuccessFunction Callback that is executed when an attempt to refresh authentication is successful.
config.onAuthErrorFunction? Callback which is executed when an attempt to refresh authentication fails.
config.onIdTokenExpiredFunction? Callback which is executed when id token is expired.
config.onRequestSuccessFunction? Callback which is executed when a request is successful.
config.onRequestErrorFunction? Callback which is executed when a request fails
config.extendLinksFunction? Function that extends standard array of links.
Returns any instance of the Apollo Client
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.