React design patterns and best practices React introduces key design patterns for readers who are new to React, guides you through the process of creating components, and includes basic concepts, problems, and workarounds that you need to know to develop web user interfaces as well as React In this book, youll learn how to style and optimize React components to make your applications respond faster and faster, and learn how to make your code more robust by writing systematic, automated tests. Finally, you learn how to contribute directly to the React development ecosystem.
Good basic overview. Nothing groundbreaking. Although the author does cover render prop (he calls it 'function as a child' ), he focuses on HOC's. Unfortunately, HOC's have lost favor in the community. Render Props'(https://reactjs.org/docs/render-props...) seem to be the new thing as a pattern for code reuse. For good reasons; as outlined here: https://cdb.reacttraining.com/use-a-r...
The book does a good job at explaining concepts well and is divided into well structured chapters. I would have liked to see more examples to flesh out some of the concepts as some ideas are mentioned all too briefly.
For more experienced React devs, don't give up on this book after reading the first couple chapters as the meat and potatoes can be found in chapters 4 to 10.
Cons:
* The way the code is explained can be too verbose. Explaining `class List extends React.Component` is fine the first few times but could've been omitted after chapter 1. Maybe the author is doing it for the benefit for those that skip chapters but if you don't understand that concept then you probably shouldn't be reading the latter chapters anyway. * While the book lacks depth, it makes up for it by covering a broad range of topics. If you want more advanced react patterns, I'd suggest looking at Kent C Dodds advanced patterns videos * Some things could've been explained better in detail so I ended up consulting the official docs
Pros:
* Comprehensive coverage on all aspects of React. * Some handy 3rd party packages mentioned that I'd never heard of before * Concise and gets to the point
I read this book to gain a better understanding of the react framework and this delivered. The book provides good detailed information about React that helped me to understand the nuances of the framework in more detail
Michele did the best work I've read so far about react native. I loved all discussions and compartions that were presented. Lots of insights that improved what I learned so far.
While this book offers valuable introductions to React design patterns and best practices for beginners, it doesn't quite cater to the needs of advanced users. It provides a solid foundation for novices, but those seeking more in-depth knowledge might find it lacking in new insights, thus my four-star rating.
The book's relevance is slightly diminished by outdated content, as several updates to React have occurred since its last edition. This, combined with a focus more suited for beginners, makes it less beneficial for seasoned developers.
In short, this book is a good starting point for beginners but falls short for advanced React developers. An updated edition encompassing recent React advancements would enhance its value significantly
There are lots of gems inside the book, the author did a good job by not including Redux into the patterns. The book starts with problem, explaining basic solution then going into better using specific npm packages. It is always important to note that there is no single solution that solves all problems.
Very clearly written, with great examples. Good overview of various technology options too. The chapter on styling was especially helpfully written. Highly recommended!