eslint-react-quick-setup
TypeScript
Our great sponsors
- Appwrite - The open-source backend cloud platform
- Sonar - Write Clean JavaScript Code. Always.
- Revelo Payroll - Free Global Payroll designed for tech teams
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
eslint-react-quick-setup | TypeScript | |
---|---|---|
1 | 1248 | |
0 | 94,351 | |
- | 0.6% | |
0.0 | 9.8 | |
3 months ago | 5 days ago | |
TypeScript | ||
- | Apache License 2.0 |
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.
eslint-react-quick-setup
-
Setup a modern Jamstack project using Gatsby, TypeScript, Styled Components, and Contentful!
Answer the questions how you like, but make sure that whichever answers you choose, you make sure to pick the same ones each time you set up ESLint. This way, you can save any custom rules in a separate repo, like I've done here, and copy and paste them in. Now, your code will be consistent across all your projects.
TypeScript
-
Building React Components Using Unions in TypeScript
The common theme in a lot of React examples utilizes 2 types of data to build React components around: primitives and Objects. In this article, we’re going to talk about a 3rd called Discriminated Unions. We’ll go over what problems they solve, what their future looks like in JavaScript and possibly TypeScript, and what libraries can help you now.
-
Hacktoberfest 2023 with Ghostfolio
Ghostfolio is written in TypeScript and organized as an Nx workspace, utilizing the latest framework releases. The backend is based on NestJS in combination with PostgreSQL as a database together with Prisma and Redis for caching. The frontend is built with Angular.
-
We use TypeScript not based on preference, but because we want to make money
Zod is great. It has some weaknesses - you can't just reuse types from external libraries; it can be verbose.
There are some libraries that provide a cleaner experience (e.g. typescript-is/typia). But they rely either on code generation or extending the TypeScript compiler while Zod just makes do with some clever typing.
TypeScript itself will never integrate something like this as it goes against their design goals[1].
[1] https://github.com/microsoft/TypeScript/wiki/TypeScript-Desi...
- Show HN: Conway's Game of Life in TypeScript's type system
-
Remove TypeScript
I know you said don't get me started on the bugs TS caused, but I would like to hwar about them if you don't mind.
I personally only had one bug that was caused by TS itself (https://github.com/microsoft/TypeScript/issues/40726) so I'm curious to hear about the issues you encountered.
-
Different CORS settings for different paths?
I have created an application with Go in Gin-Gonic. In my frontend (Nuxt3/TypeScript) I always get a CORS error:
-
Unlocking API Interoperability: Converting OpenAPI to TypeScript JSON Schema
Import JSON files as const (See relevant GitHub thread)
Since the OpenAPI Specification is a "machine-readable interface definition language for describing, [...] web services", and TypeScript is practically the only available type solution for Node.js, I confidently googled:
- Explorando a lib usehooks-ts para Desenvolvimento no React
What are some alternatives?
zod - TypeScript-first schema validation with static type inference
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
Tailwind CSS - A utility-first CSS framework for rapid UI development.
zx - A tool for writing better scripts
esbuild - An extremely fast bundler for the web
Yup - Dead simple Object schema validation
gray-matter - Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers. Please follow gray-matter's author: https://github.com/jonschlinkert
rescript-compiler - The compiler for ReScript.
linaria - Zero-runtime CSS in JS library
Quasar Framework - Quasar Framework - Build high-performance VueJS user interfaces in record time
fp-ts - Functional programming in TypeScript
lodash - A modern JavaScript utility library delivering modularity, performance, & extras.