Joe PreviteJoe PreviteSee all posts

TypeScript

Last updated:

This is ever-growing guide with my best articles, tips and resources for learning TypeScript. Find what you need by the format of what you use to learn best!

Articles

A handful of articles Iโ€™ve written on topics related to TypeScript, which can support you in your learning journey.

How TypeScript Makes You a Better JavaScript Developer

If youโ€™re on the fence about learning TypeScript, read this article. It covers many of the reasons why TypeScript is worth the learning investment as a JS developer.

๐Ÿ”— Link to article

How to Contribute to Open Source TypeScript Projects

Contributing to open source projects is one of the best ways to learn TypeScript! This breaks it down into various levels and provides examples of how you can level up via OSS contributions. For me, the biggest learning came from contributing to TypeScript itself.

๐Ÿ”— Link to article

Practical Ways to Advance Your TypeScript Skills

If you already know TypeScript and want to take it to the next level, this article provides a lot of practical tips for getting there.

๐Ÿ”— Link to article

How to Migrate a React App to TypeScript

For those working on the front-end, this article provides a guide for migrating your React app to TypeScript using a practical example - timezoner, a Chrome extension I wrote in React.

๐Ÿ”— Link to article

React with TypeScript: Best Practices

Leaning heavily on what Iโ€™ve learned from the react-typescript-cheatsheet project (reading and maintaining), this project discusses the best practices around React and TypeScript.

๐Ÿ”— Link to article

Using ESLint and Prettier in a TypeScript Project

Whenever I need to set up ESLint, Prettier and TypeScript in a project, this is my go to resource.

๐Ÿ”— Link to article

Books

A few books out there worth checking out.

Programming TypeScript

I read this book when I was first learning TypeScript. I have yet to write up my thoughts on it, but I highly recommend it. I learned a ton.

๐Ÿ”— Link to Book on Amazon

Effective TypeScript Book Review

I wrote an article sharing my notes and thoughts from this book. Itโ€™s not bad. If you read โ€œProgramming TypeScriptโ€ first, you may not get much out of this book.

๐Ÿ”— Link to Book Review

Code

Sometimes people learn best by reading source code. Here are some recommendations.

Timezoner Extension

Originally written in JavaScript, I migrated this project - a Chrome extension written in React - to TypeScript. Itโ€™s a small project so it may be a good place to see the basics of TS in a production scenario.

๐Ÿ”— Link to source code

The Super Tiny TS Compiler

While committing to #100DaysOfTypeScript, I decided to follow a JavaScript tutorial about building a compiler in TypeScript.

๐Ÿ”— Link to source code

TypeScript Contribution

After reading a few books and building a few toy projects, I wanted a new challenge to level up my skills. Here is a link to a small contribution I made to TypeScript, the language itself. It should show you a little bit about the internals, how it works and how tests work.

๐Ÿ”— Link to source code

TypeScript Cheatsheets

This repository is full of cheatsheets for using TypeScript with various technologies including React, Vue, GraphQL, Node, React Native and more.

๐Ÿ”— Link to typescript-cheatsheets

Tips

These are shorter bits. It might be a short video or a short article that explains a specific thing.

Ultralearning TypeScript: Lessons Learned

To learn TypeScript deeply, I did an ultralearning project. This is a link to some of the lessons I learned after reflecting on the journey.

๐Ÿ”— Link to tweet thread

๐Ÿ”— Link to project in Notion

Understanding Mapped Types in TypeScript

I wanted to better understand mapped types in TypeScript, so I wrote a short article about it.

๐Ÿ”— Link to tweet thread