Theo - t3․gg

These Legendary Devs HATE TypeScript & React

thumbnail
  • Typescript and React are beloved by developers for making app development easier and more efficient.
  • However, library authors often have frustrations with using Typescript and React in their projects.
  • Typescript helps in ensuring that data is in the correct shape, but defining custom types can be cumbersome and challenging.
  • Library authors are responsible for providing accurate type definitions for their libraries, which can be time-consuming and complex.
  • Some projects, like Svelte and Svelte Kit, have moved away from Typescript in favor of using JSDoc for type contracts.
  • Library authors may have to change their code architecture to support Typescript, which can impact performance and productivity.
  • Supporting server components with Typescript and React is particularly challenging for library authors.
  • While Typescript benefits app developers, it places a significant burden on library authors to maintain correct type contracts.
  • The work required to build and maintain libraries with Typescript is often more challenging than building applications with Typescript.
  • Many developers have contributed to the success and viability of the Typescript ecosystem, and their hard work should be acknowledged and appreciated.
  • Typescript Advocates, such as Colin, Tanner Lindsley, TK Doto, Alex, and Julius, have played a vital role in making Typescript viable for app development.
  • It is important to thank and recognize these developers for their contributions and the improvements they have brought to the web development community.