Headless commerce and custom storefronts with Shopify APIs and SDKs
Error: This function should not be invoked. It should be used to tag template literals that will be transcompiled into graphql-js-client's query builder syntax.
We are using:
import { gql } from "babel-plugin-graphql-js-client-transform";
Code Example
export const clientQuery = (cursor) => { return client.send(gql(client)`query($numOfProds: Int!, $cursor: String) { shop { name description } } `, { numOfProds, cursor } ) .then((res) => { return res }); };
Any help would be appreciated!
Any update on this. Facing the same issue.
Any particular reason as to why you're using this package?
babel-plugin-graphql-js-client-transform
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023