Blog

A blog using velite. Posts are written in MDX


`any` Considered as harmful, except for these cases

`any` Considered as harmful, except for these cases

Discover when it's appropriate to use Typescript's `any` type despite its risks. Learn about legitimate cases where `any` is necessary

May 30, 2024

View Article
Deriving vs Decoupling: When NOT to be a Typescript Wizard

Deriving vs Decoupling: When NOT to be a Typescript Wizard

In this book teaser, we discuss deriving vs decoupling your types: when building relationships between your types or segregating them makes sense

May 30, 2024

View Article
How to Strongly type process.env

How to Strongly type process.env

Learn how to strongly type process.env in Typescript by either augmentng global type or validating it at runtime with t3-env.

May 30, 2024

View Article
This pattern will wreck your React App's TS Performance

This pattern will wreck your React App's TS Performance

Imporve React Typescript performance by replacing type & with interface extends. Boost IDE and tsc speed significantly

May 30, 2024

View Article