Content tagged with "refactoring"

  1. Union types in TypeScript: modeling state

    Get familiar with union types in TypeScript with practical examples. You will get rid of of complex and buggy boolean logic by using union types to model the state of your application. Your colleagues will thank you later.