React Anti-Patterns: Build efficient and maintainable React applications with test-driven development and refactoring
E**A
Buy it and become a better developer!
Recently, I had an interview and got tripped up on a question about design patterns 😩, so I decided to try to learn more about them.In doing so, I discovered something called anti-patterns exist as well! 😂 And since I'm also currently trying to get reacquainted with React, I decided to go looking for a good resource on the subject(s)...Now I love me some good resources! 😅🥰 I literally hoard online courses in my bookmarks on my laptop, and my bookshelf is full of programming books. 🤣So I went looking for a good one and I came across "React Anti-Patterns" and have been diving into it recently. And even though it's more about what NOT to do, I'm learning sooo much!! 🤯It's really helping me develop a better understanding of design patterns and anti-patterns so I can feel more confident speaking about them in interviews. I'm most excited about how it's helping me learn to write better code and ultimately, be a better developer. 😊I absolutely recommend it to anyone who's trying to up their game and grow as a software engineer! This one is a must-have!
R**.
Valuable resource
This book is a valuable resource for developers seeking to enhance their React skills and optimize their codebases. The book offers practical solutions for addressing common anti-patterns, implementing testing strategies, and applying refactoring techniques. It covers a range of topics, including design patterns, software design principles, and modularity, providing actionable insights to improve code quality and maintainability.While the content is comprehensive and well-structured, some examples could have been elaborated further for clarity, and additional real-world case studies would have been beneficial. Nevertheless, the author equips readers with the tools and techniques needed to overcome challenges and elevate their React projects, making it a valuable resource for developers aiming to refine their skills and create more efficient codebases.
A**O
Incredibly well structured
This book covers the most common anti-patterns that I've seen throughout React projects, especially ones that were built by beginners. The first chapter does a good job explaining each anti-pattern and the problems they cause. However, I wouldn't consider everything mentioned in this chapter an "anti-pattern." For example, lack of testing is listed but I'd consider that more of a problem than a pattern people actively follow. Nevertheless, it's a problem that folks should be aware of, and therefore, it fits this book's topic well. Then, the second chapter does an abridged but thorough detailing of React fundamentals because these fundamentals will be used in the upcoming chapters. Don't expect this chapter to be a hand-holding tutorial; it will be just the conceptual aspects and code samples. One of the biggest problems I see in React applications is the way they are organized, and this book does a good job listing out a number of different approaches, each with pros/cons, to allow the reader to decide what's best for them.Testing, refactoring, and TDD are the next sections of the book, and I very much enjoyed these! The section on testing gives a good overview of the different ways of testing React applications, including unit testing (Jest + RTL) and integration testing (Cypress + Cucumber). Beyond just going over refactoring strategies like how to restructure your application, the author goes in-depth with the exact refactoring strategies you can/should use. The most exciting part is that the author references Webstorm and Visual Studio Code as IDEs, and proceeds to explain the different refactoring options these IDEs have and how/WHY to use them, e.g., extracting values into variables, extracting certain logic into utility functions, moving pieces of code into different files to enforce separation of duties.The last part of the book I read before writing this review covers TDD, its different styles, and how to do it. I appreciate this section being in here because I find that TDD is a tough concept for some to wrap their heads around. The author mentions Cucumber (for BDD) as an example but doesn't go into detail with it. I know that's not what this book is intended for, but I can't help but feel sad that there wasn't more information or examples of this approach. In this section, the author talks about "tasking," which lists everything the author will be testing. The author describes what each task will be testing and, to some degree, why as well, but this section could have been written slightly differently, where it reads as if the author is explaining why they picked the tasks they did for testing first.Overall, really pleasant read for beginners and experts alike. I'm looking forward to finishing this book.
S**H
Great book!!
Great book if you are into learning react.js
A**I
Good book
Very informative on the different and most basic anti patterns that are needed during react projects. Each patterns problem is well explained along with its implications. A great book for beginners!
S**G
Great Book for React Learner - 2024
Great start of New year 2024 with reading book React Anti Pattern. Every year I take resolution to learn new technology or improve existing development work. I started reading this book since Jan 6th and So far I am finding this book is very interesting. Its covers lots of hand on examples and sample code to Identify and address React anti-patterns. Its also covers differenttesting strategies and refactoring techniques for efficient codebases.We can more explore here like data modelling, design patterns, and state management in React. Book is covering good code quality, maintainability, and scalability in React applications.Its good book for beginner and experienced level developer. Happy Learning!!
Trustpilot
Hace 2 meses
Hace 2 semanas