Pointers on maintaining large-scale projects
To keep this book as short and to the point as possible, as well as available to a wide audience, I intentionally left out some topics and technologies. However, these are still very important to get to know when maintaining large-scale projects, so I want to cover them briefly here.
Using TypeScript
TypeScript is JavaScript extended with syntax for types. A type system can be very useful in catching bugs early and give confidence when refactoring a large code base. While it can take some time to get used to typing everything, it becomes a blessing when you realize all problems appear as type errors in your code editor instead of runtime errors for your users.
I would recommend using TypeScript for all new projects. It is easy to learn when you already know JavaScript and integrates well with frameworks such as Next.js.
You can learn more about TypeScript here: https://www.typescriptlang.org.
Setting up a Monorepo
In this...