Tag: webpack
-
Import specific GraphQL fragments?
0 I have a fragment in a file that contains a lot of other fragments. file.gql #import "./fragment.gql" query Query { …Fragment } fragment.gql fragment Fragment { … } …other fragments here Doing this causes an error because of the unused fragments. Is it possible to import just that one fragment? Or do I seriously…
-
React with A11y(accessibility) Developer – eTeam, Inc. – Irving, TX
eTeam, Inc. Irving, TX Depends on Experience Contract: W2, Independent Work from home Skills GraphQL Javascript Node . js React js Redux Unit tests Webpack front – end development accessibility Job Description Job Title: React/Front-end Developer Location: Irving TX, OR Atlanta GA, OR Minneapolis (Hybrid) Mode: Contract – C2C / W2 Perform front-end development using…
-
Graphql-request using typescript webpack config set up
0 I have a rest api written in typeScript and one of my downstream API is in Graphql. I am using graphql-request to consume the downstream graphql api. Version in package.json "graphql": "^16.6.0", "graphql-request": "^6.1.0", and my code is import { GraphQLClient, gql } from ‘graphql-request’ export const getUser = async (authToken: AuthToken) => {…