My Articles
-
How to sort imports like a pro in TypeScript
In this article, I am going to show the way to sort imports automatically in the TypeScript projects with ESLint. Just follow some steps, you can get this cool tip to help you develop faster without any concerns about the order of every single imports
-
How to enforce TypeScript types in the runtime environment
In this article, I am going to show the way to enforce TypeScript types in the runtime environment. Because in the runtime environment, the real source code executed is JavaScript (after being compiled from TypeScript)
-
Prevent code duplication when writing unit tests with Jest .each
In this article, I show you how to prevent code duplication when writing unit tests with Jest .each API method. It makes your test cases maintainable.
-
How to build a React library with TypeScript
You can build your own React packages just using TypeScript and Rollup after read through my article 😁.
-
How to mock process.env when writing unit tests with Jest
If you are working with unit tests in Jest and you don’t know how to mock process.env I think this is the right article for you 😁
-
How to get runtime type checking in TypeScript
Have you ever think about how to get runtime type checking in TypeScript? If yes, the article above may be helpful for you.
-
Build multiple level selection with ReactJS Hooks
In this article I show you how to build multiple level selection with ReactJS Hooks
-
Say “Good bye” relative imports in NodeJS projects
In this article I show you how to use absolute path in NodeJS projects
-
Build OTP Input with ReactJS Hooks
In this article I give you a basic idea to implement OTP Input component in React with Typescript.
-
Enhance Countdown Component in React with Typescript
In this article I give you a basic idea to enhance Countdown component in React with Typescript.