Fullstack React with TypeScript is a practical, guide that will have you (and your team) writing React apps with TypeScript (and hooks) in no time. You might think of TypeScript as something that only applies to Angular - after all, it was Angular that pioneered using TypeScript for web development. But adoption of TypeScript with React has skyrocketed this past year - and for good reason. React and TypeScript are a powerful combination that can prevent bugs and help you (and your team) ship products faster. I've switched all of my new React development to TypeScript this year. While the type-checking is a little bit more work in the beginning, it's a huge help to productivity over the course of a project -- particularly because your editor can now help you code. But there is one problem with using React and Understanding idiomatic React patterns with TypeScript isn't always straightforward. When I was starting off, I to get typings working properly -- without using the generic any type everywhere integrating with third-party libraries that didn't always include their own types! - what are you supposed to do then? typing complicated objects like Redux reducers and actions typing even more complicated objects like GraphQL queries I love the productivity boost using TypeScript gives me with React. But it took me months and months to get these patterns straight. And that's why we wrote this book. You won't have to struggle for months. In fact, you'll be able to learn these patterns in just a few hours.
This whole book is basically a read out of the accompanying source code with scant explanation on anything. And, when there are explanations, they're either incomplete or unimportant, and sometimes incorrect. A lot of the instructions in the book and the accompanying code don't match, often rendering following the book tedious and requiring a non-trivial amount of debugging. It's also ridden with typos, grammatical errors, and unclear sentences. However, having said all of that, after reading the book from cover to cover, and carefully studying the source code, I did learn a few things.
This book has a lot of potential, and the projects are interesting, but it desperately needs an editor.
This book has some interesting, fairly crunchy projects using stuff like drag and drop, the Web Audio API, Next.js, Redux, etc. You're going to learn some good stuff if you take the time to dissect these projects, taking notes, etc. Having said that, I've read a good chunk of newline books, and I think this is one of the worst ones so far. There's very little, if any, "why" behind the choices made here (I did like their brief explanation of how and why useReducer is not a total replacement for Redux), and this mostly is a collection of tutorials rather than something that needed to be in book form, like Amelia Wattenberger's outstanding data visualization book from newline. I can't say that this content is bad insofar as the quality of the projects, but I don't think it's worth the price tag when there are so many other resources for learning how to use TS with React that are cheaper, or totally free.