ββI found out that I repeatedly use some TypeScript code patterns in daily work. Those code patterns arenβt heavy or complex, and they also donβt require a lot of boiler-plate code. Theyβre just simple and practical solutions to resolve a few common problems.
β± 7 minutes
#TypeScript
β± 7 minutes
#TypeScript
Medium
6 TypeScript Code Patterns To Make Your Code More Robust
Simple and practical solutions you can apply in daily work
ββEditors may have problem with auto importing that complicated relative paths ( at least VSCode does ). Importing manually from various modules in your project will start to feel very cumbersome ( trust me, I experienced that with my team at workβ¦ )
β± 6 minutes
#TypeScript #Webpack #Jest
β± 6 minutes
#TypeScript #Webpack #Jest
Medium
Type-safe es2015 module import path aliasing with Webpack, Typescript and Jest
How to remove long import paths and encapsulate packages in reusable modules folder and make everything work with webpack, jest and typescript
ββAs someone who loves cutting-edge technology, I choose to build my first SaaS with a modern tech stack. With the rise of JAMStack and serverless architecture, I created PostMage with Next JS static generation for the frontend and the Node.js backend deployed to AWS.
β± 8 minutes read
#AWS #React #TypeScript #NextJS
β± 8 minutes read
#AWS #React #TypeScript #NextJS
Medium
The Modern Tech Stack to Build a SaaS in 2021 as a Team of One-Man with Next JS and AWS
As someone who loves cutting-edge technology, I choose to build my first SaaS with a modern tech stack. With the rise of JAMStack andβ¦
ββDealing with a common data model between the front-end and the back-end can be a pain if youβre not working on a monorepo. This is because ideally, you do not want duplicate code that can become out of synch by lack of maintenance.
β± 8 minutes read
#TypeScript
β± 8 minutes read
#TypeScript
Medium
Sharing TypeScript Types between Backend and Frontend Repos
Keeping backend and client in sync with shared types and Bit
ββTypescript has had Template Literals since its early stages. They are really useful when you want to create types from a static string. It was not until the Typescript 4.1 release that we saw Template Literal Types. In further releases, the Typescript team has been polishing its features and fixing some quirks. As a result, it is now a mature feature.
β± 5 minutes read
#TypeScript
β± 5 minutes read
#TypeScript
Medium
Mastering TypeScript Template Literal Types
how to use the awesome Template Literal Types feature
ββFor the past few years, Node became one of the most popular back-end solutions. Itβs very easy to bootstrap an app on Node and start handling HTTP requests on the fly. But there is a problem, in most cases, Node apps get very complicated and coupled while they grow, so keeping domain and persistence layers separate becomes extremely hard.
β± 5 minutes read
#TypeScript
β± 5 minutes read
#TypeScript
Medium
Dependency Injection in TypeScript
DI with TypeScript Decorators in action
ββSince React props are used to send transmit data between one React component to another, there are many types that you can use to type React props.
β± 12 minutes read
#React #TypeScript
β± 12 minutes read
#React #TypeScript
Medium
React with TypeScript Cheatsheet
An answer to all your React typing questions
ββAt Vim weβre using TypeScript heavily and through our TypeScript journey Iβve found a few patterns that helps organise and improve types declarativity.
There are a few pain points Iβd like to discuss and offer some useful tricks and strategies to confront them
β± 7 minutes read
#TypeScript
There are a few pain points Iβd like to discuss and offer some useful tricks and strategies to confront them
β± 7 minutes read
#TypeScript
Medium
Writing Scalable Types in TypeScript
At Vim weβre using TypeScript heavily and through our TypeScript journey Iβve found a few patterns that helps organise and improve typesβ¦
ββTypeScript has many features that weβre using on a regular basis or, to put in another way, too many features to keep in mind. Releases are pretty often. It means that new features are constantly arriving.
β± 10 minutes read
#TypeScript
β± 10 minutes read
#TypeScript
Medium
10 TypeScript features you might not be using yet or didn't understand
TypeScript has many features that weβre using on a regular basis or, to put in another way, too many features to keep in mind. Releases areβ¦
ββReact is a JavaScript library, and it is the most popular and industry-leading frontend development library today.
β± 6 minutes read
#React #TypeScript
β± 6 minutes read
#React #TypeScript
Medium
10 Must-Know Patterns for Writing Clean Code with React and TypeScriptβ¨π
React is a JavaScript library, and it is the most popular and industry-leading frontend development library today.