Jump to ratings and reviews
Rate this book

React 17 Design Patterns and Best Practices: Design, build, and deploy production-ready web applications using industry-standard practices

Rate this book
Build modular React web apps that are scalable, maintainable and powerful using design patterns and insightful practices React is an adaptable JavaScript library for building complex UIs from small, detached bits called components. This book is designed to take you through the most valuable design patterns in React, helping you learn how to apply design patterns and best practices in real-life situations. You'll get started by understanding the internals of React, in addition to covering Babel 7 and Create React App 2.0, which will help you write clean and maintainable code. To build on your skills, you will focus on concepts such as class components, stateless components, and pure components. You'll learn about new React features, such as the context API and React Hooks that will enable you to build components, which will be reusable across your applications. The book will then provide insights into the techniques of styling React components and optimizing them to make applications faster and more responsive. In the concluding chapters, you'll discover ways to write tests more effectively and learn how to contribute to React and its ecosystem. By the end of this book, you will be equipped with the skills you need to tackle any developmental setbacks when working with React. You'll be able to make your applications more flexible, efficient, and easy to maintain, thereby giving your workflow a boost when it comes to speed, without reducing quality. This book is for web developers who want to increase their understanding of React and apply it to real-life application development. Prior experience with React and JavaScript is assumed.

562 pages, Kindle Edition

Published May 17, 2021

42 people are currently reading
57 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
11 (21%)
4 stars
13 (25%)
3 stars
16 (31%)
2 stars
7 (13%)
1 star
4 (7%)
Displaying 1 - 12 of 12 reviews
Profile Image for Sloan.
55 reviews16 followers
June 2, 2021
Good resource for experienced developers that use React. I would not recommend beginners start here. Not an extensive or super technical look into things, but it does offer practical insight. This would be ideal for a dev team to read through or have on hand when questions arise about working with React.

It's easy to read and filled with many code examples. It introduces concepts and then will often explain on how to work with them. This is great and makes it easy to understand for someone that has experience with React.

Three stars because it is what it is. Nothing mind blowing here, but it does fulfill expectations.
Profile Image for Jeffrey.
293 reviews19 followers
July 12, 2022
There's some good stuff in here if you've only done one or two React projects and are looking for a better basic understanding.
6 reviews
February 16, 2023
It was just a conglomeration of tutorials. It felt like the author is a code-slinger but doesn't really have a strong understanding of software engineering or why these patterns are here in the first place.

I came in trying to think in a React way and to be able to speak React and make sophisticated well-learned design decisions, but what I got was more of miscellaneous how-tos that you would find in tutorial blogs.

This book frustrated me, but I still finished it. I mean, it gives you a wide breadth of different things about React, but it felt like a dump of React code and barely any why. There was little theory or actual thinking about the reasoning behind using these patterns.

Again, why not just read a bunch of tutorials and blogs then? Books are for having a deep understanding.

Note to self: don't read a book until you've checked the reviews in Goodreads. I wasted my time
Profile Image for Max Rohde.
207 reviews5 followers
October 6, 2019
A decent book about React programming. I've read the second edition. In the fast moving world of React (and JavaScript development in general) knowledge gets quickly outdated. Some sections of the book wouldn't be considered best practice anymore; however in most cases there is an additional section bolted on (presumably added with the second edition) that follows a more modern approach. I think it might have been better to remove the original content in the second edition rather than providing the most recent approaches as a kind of afterthought.
6 reviews
August 20, 2021
Talks about classes and only in the end of each chapter it adds something that is currently useful. Encourages use of libraries and some design patterns are simply impossible in large and complex platforms.

The book is still ok for react devs with some experience.
Profile Image for Selino V.
15 reviews
November 3, 2021
Like most programming books this one was obsolete within months. Functional patterns have become the norm and nesting React within other libs/frameworks is commonplace. This book was filled with "best practices" in 2018-2019. It's not even close anymore.
Profile Image for Marek Sirkovský.
49 reviews2 followers
March 27, 2022
I expected something different. It was more of compilation of basic React tutorials than a book about patterns.
Profile Image for Katherine.
149 reviews
April 6, 2022
Waste of time. Even wrong at times. Worst practices for first few chapters.
This entire review has been hidden because of spoilers.
4 reviews
June 24, 2022
Great if you are already somewhat familiar with React, but looking to code properly. Easy to understand.
Profile Image for Kitokip.
1 review
December 5, 2022
Half a book for React tutorials content and much less content for advanced patterns. Like a collection of tutorial blogs.
Profile Image for Kia Storm.
2 reviews2 followers
March 30, 2020
This book seemed outdated to me. Whilst I understand that class components are still usable in React, React hooks are only briefly mentioned in the book. Much of the insights and information is covered in most React tutorials online, or even in the docs at https://reactjs.org/docs
Displaying 1 - 12 of 12 reviews

Can't find what you're looking for?

Get help and learn more about the design.