1 contributor
Like
Install create-client as a package?
Copied
npm i @bit/giladshoham.github-graphql.apollo.create-client
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
A helper to create apollo client for GitHub GraphQL.
createClient (
token:
) String
Function to create the apollo client
Example
Argument
token:
String
Github personal token
Returns
Apollo client object
Test Summary
#createClient() should throw an error if token not provided | Pass |