graphql-let
ts-loader
Our great sponsors
graphql-let | ts-loader | |
---|---|---|
3 | 6 | |
456 | 3,425 | |
- | 0.3% | |
3.2 | 4.5 | |
5 days ago | 4 days ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
graphql-let
-
How to generate Typescript types for GraphQL queries in a React app
Under the hood, @lente/vite-plugin-graphql uses graphql-let, and .graphql-let.yml is where we define where the GraphQL schema is located and how to identify the GraphQL files to be parsed. Check out this repo for more details on the options available https://github.com/piglovesyou/graphql-let.
-
graphql-let - A Webpack loader for GraphQL Code Generator
graphql-let is a wrapper tool that makes using GraphQL Code Generator smoother and easier. In this article, I'll explain what graphql-let is and how it relates to GraphQL Code Generator.
-
Question: Any tools for generating strongly-typed query and mutation builders?
I think all the tools you and /u/catterpillars_dreams need are there. You just need a combination of graphql-code-generator, ESLint, and editor plugins. Maybe you could contribute to the graphql-let project, which attempts to make it easier to set everything up.
ts-loader
-
webpack adoption guide: Overview, examples, and alternatives
It'll be a little different than your typical "what is webpack?" article in that I write this as the maintainer of ts-loader, a loader used for integrating TypeScript with webpack. I've worked in the webpack ecosystem for some years now, and I'll share some of my experiences with you.
-
The Complete Guide for Setting Up React App from Scratch (feat. TypeScript)
why I use @babel/preset-typescript over ts-loader and awesome-typescript-loader to complie TypeScript? it's blazingly faster than the others and has more perks(read #4) ts-loader doesn't natively support HMR(Hot Module Replacement) awesome-typescript-loader's latest release is on Jun 22, 2018 TypeScript With Babel: A Beautiful Marriage - Matt Turnbull's Post
-
Converting to Typescript
Okay. The normal setup is that you use https://github.com/TypeStrong/ts-loader or https://github.com/TypeStrong/fork-ts-checker-webpack-plugin as part of your Webpack config. Those will run the TS compilation step as part of the Webpack processing sequence.
-
Using styled-components with SWC compiler?
I've recently tried SWC for building my project instead of ts-loader and was blown away by its performance (I got 8x-10x speedup on a Windows machine).
-
Sharing TypeScript code between Node.js and Vue.js
{ "compilerOptions": { "target": "esnext", "module": "esnext", "strict": true, "jsx": "preserve", "importHelpers": true, "moduleResolution": "node", "experimentalDecorators": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "sourceMap": true, "baseUrl": "./", "outDir": "./dist", // https://github.com/TypeStrong/ts-loader/issues/1138 "importsNotUsedAsValues": "preserve", "types": [ "webpack-env" ], "paths": { "@/*": [ "src/*" ], "@shared/*": [ "../shared/*" ] }, "lib": [ "esnext", "dom", "dom.iterable", "scripthost" ] }, "include": [ "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx", "../shared/**/*" ], "exclude": [ "node_modules" ] }
-
esbuild-loader: Replace babel-loader/ts-loader and benefit from the speed of esbuild while sticking with Webpack
See https://github.com/TypeStrong/ts-loader#happypackmode. Switching to esbuild-loader cut my build time in half.
What are some alternatives?
graphql-zeus - GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react native ( apollo compatible )
swc - Rust-based platform for the Web
graphql-typed-document-node - An improved version of `DocumentNode` for seamless TypeScript integration for GraphQL.
esbuild-loader - Webpack loader for esbuild: Speed up your build ⚡️
graphql-codegen-flutter-artemis-hooks - graphql-codegen plugin to generate type-safe, easy-to use hooks for Flutter
babel-plugin-styled-components - Improve the debugging experience and add server-side rendering support to styled-components
graphql-codegen-vscode - vscode extension which runs graphql-codegen whenever you save a query/mutation
raw-loader - A loader for webpack that allows importing files as a String
Next.js - The React Framework
responsive-loader - A webpack loader for responsive images
react-starter-kit - The web's most popular Jamstack front-end template (boilerplate) for building web applications with React
sass-loader - Compiles Sass to CSS