Designed to feel similar to using apollo's graphql-tag function.
Jraph takes two parameters
- 
- a URL string, this should be the URL to your graph-ql endpoint
 
- 
- Basically just fetch params
- Only works with post-requests right now please bear with me.
 
    import {jraph} from 'jraph';
    const gql = jraph("https://csb-xpwq1o2824-xravvsjkul.now.sh/");
    async function getItems(){
        return gql`{
           items{
              title
              info
           }
        }
        `
    }