PinnedPublished inWebtipsHow to sort imports like a pro in TypeScriptHow to sort imports like a pro in TypeScript? Just use ESLint with some configuration, you can archive this in the right the way.May 2, 20222May 2, 20222
PinnedPublished inWebtipsHow to enforce TypeScript types in the runtime environmentIn this article, I am going to show the way to enforce TypeScript types in the runtime environment.Nov 27, 20211Nov 27, 20211
PinnedPublished inWebtipsHow to build a React library with TypeScriptIn this article, you can get to know how to build React library with TypeScript and Rollup. It provides full steps for your praticesOct 17, 20215Oct 17, 20215
PinnedPublished inWebtipsHow to mock process.env when writing unit tests with Jest ?Hi there! Long time no new articles! Today, I am going to show you how to mock process.env when writing unit tests with Jest. Okay, let…Oct 10, 20213Oct 10, 20213
PinnedPublished inWebtipsHow to get runtime type checking in TypeScriptYou wanna get runtime type checking in TypeScript but you do not know where to get started? So, this is the right article for you 🤩.Jun 27, 20212Jun 27, 20212
Hi Toan, it's good to see you are interested in my article "How to compose React Providers with…For point "- Why we need to build a util and maintain it while we can just leave it nested as is? I think it's easier to read, clean, and…May 5, 2024May 5, 2024
Published inWebtipsHow to compose React Providers with TypeScriptSay goodbye to nested React providers tree in your React applications. No more stresses on complex JSX treeMay 3, 20242May 3, 20242
Thank you for introducing another simple version of OTP input!It looks greate to me!Sep 4, 2022Sep 4, 2022
Hello Nik,This is an alternative approach, straight forward by defining JSON schema and manually adding some validator methods. You can see all works…Dec 2, 2021Dec 2, 2021