1.0.0-alpha.0 • Published 3 years ago

@guidecx/mercury v1.0.0-alpha.0

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

Mercury

API Client for GuideCX Applications

import mercury, { MercuryProvider } from '@guidecx/mercury'

const client = mercury({
  uri: 'http://localhost:3002/graphql',
  websocket: 'ws://localhost:3002/subscriptions'
})

function App() {
  return (
    <MercuryProvider client={client}>
      <div>Hello World</div>
    </MercuryProvider>
  )
}