
Автор: Steve Kinney
Издательство: SitePoint Pty. Ltd.
Год: 2023
Страниц: 92
Язык: английский
Формат: epub (true)
Размер: 10.2 MB
If you're a jаvascript developer struggling to get to grips with TypeScript or use it effectively in your projects, this book will guide you in making the most of this powerful language and its latest features, and help you overcome some common misunderstandings and pitfalls. TypeScript 5.0 is a major advancement to the user-friendliness and flexibility of the language. It nudges us toward better coding practices, promotes cleaner code, and catches potential errors before they become a headache. It's a great time to start using TypeScript, but if you're a jаvascript developer struggling to get to grips with the language or use it effectively in your projects, this short book is for you. It will guide you in making the most of this powerful language and its latest features, and help you overcome some common misunderstandings and pitfalls. Many of the example React applications we see tend to be small and easily understandable. But in the real world, React apps tend to grow to a scale that makes it impossible for us to keep all of the context in our head. This can often lead to unexpected bugs when a given value isn’t what we thought it would be. That object you thought had a certain property on it? It turns out it ended up being undefined somewhere along the way. That function you passed in? Yeah, that’s undefined too. This book is for intermediate-level jаvascript developers who want to get to grips with the powerful features that TypeScript offers.