Skip to content

BlackWaspTech/wasp-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐝 Wasp GraphQL 🐝

Promise-based GraphQL Libraries for Javascript

npm Build Status npm bundle size (minified)

Execute a GraphQL query exactly like you would a fetch request. No dependencies included.

Takes a url and an init object as input. Returns a Promise containing the results of the request.

// fetch
fetch('/graphql', { body: JSON.stringify({ query: '{ foo { bar baz } }' }) })

// query
import { query } from 'wasp-graphql'
query('/graphql', { fields: '{ foo { bar baz } }' })

// Logging the results
fetch(url, init)
  .then(res => res.json())
  .then(json => console.log(json))
query(url, init)
  .then(res => res.json())
  .then(json => console.log(json))

Read more.

npm Build Status npm bundle size (minified)

Automates GraphQL queries for an existing Redux codebase.

Read more.

Provides integration between Redux and Apollo.

Keeps apollo-state-cache and the redux store in sync whenever you execute an Apollo query.

Read more.


Code of Conduct

Read our Code of Conduct here.

License

Free and Open Source under the MIT License.

About

Documentation for the Wasp GraphQL family of libraries.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published