In-Depth Look at TypeScript Generics: Part 2 — Advanced Inference 📅 Feb 21, 2022 · ☕ 8 min read · ✍️ Iskander Samatov Advanced type inference combined generics allows us to build complex types on top of other ones.
In-Depth Look at TypeScript Generics: Part 1 — Intro to Generics 📅 Feb 14, 2022 · ☕ 5 min read · ✍️ Iskander Samatov Generics allows us to write a typesafe code that will work with a wide range of primitives and objects.
TypeScript Basics: Understanding The "never" Type 📅 Feb 6, 2022 · ☕ 5 min read · ✍️ Iskander Samatov The TypeScript 'never' keyword is a bit of a mystery to many developers. What does it do, and when should you use it?
TypeScript Basics: Understanding How Variable Types are Determined 📅 Jan 20, 2022 · ☕ 4 min read · ✍️ Iskander Samatov In this post, we will cover how TypeScript infers variable's type. Knowing this is important to build a solid understanding of the language.
TypeScript schema validation with Zod 📅 Jan 17, 2022 · ☕ 7 min read · ✍️ Iskander Samatov Schema validation will help you ensure that your data is valid during runtime and Zod is the one of the best TypeScript libraries for it.
Ambient Modules in TypeScript: What they are and how to work with them 📅 Jan 10, 2022 · ☕ 3 min read · ✍️ Iskander Samatov We will cover what ambient modules are, how to use them, and some caveats and tips when working with them.
Solve any external library error in TypeScript with module augmentation 📅 Jan 5, 2022 · ☕ 4 min read · ✍️ Iskander Samatov When you get stuck, use module augmentation to tweak the modules that you can't access otherwise.
Reclaiming Responsibility From Best Practices in Software Development 📅 Dec 27, 2021 · ☕ 6 min read · ✍️ Iskander Samatov This post explores some of the common best practices, why they don't always work, and what's a better approach.
React polymorphic components with TypeScript 📅 Aug 22, 2021 · ☕ 4 min read · ✍️ Iskander Samatov Polymorphic components is a powerful React pattern for controlling how your components render in DOM.
React Higher Order Components with TypeScript 📅 Aug 8, 2021 · ☕ 4 min read · ✍️ Iskander Samatov Let's cover the right approach of implementing React higher-order components in TypeScript using generics and utility types.
6 new TypeScript features for writing clean code 📅 Jul 30, 2021 · ☕ 4 min read · ✍️ Iskander Samatov Let's cover some of the new TypeScript features that will help write precise and clean code.
Typescript: Five most useful utility types for React 📅 Jul 18, 2021 · ☕ 3 min read · ✍️ Iskander Samatov Let's explore TypeScript utility types for React. Utility types are a powerful feature for constructing new types.
Using React children prop with TypeScript 📅 Jun 29, 2021 · ☕ 2 min read · ✍️ Iskander Samatov I'll cover each of the types used for children prop and discuss the trade-offs so you can pick the right one for your use case.