React 18 Design Patterns and Best Practices: Design, build, and deploy production-ready web applications with React by leveraging industry-best practices
, Fourth Edition
Discover and unpack the latest React 18 and Node 19 features in this updated fourth edition
Get up to speed with TypeScript, MonoRepo architecture, and several cutting-edge React tools
Learn from plenty of real-world examples and an improved chapter flow
Description
React helps you work smarter, not harder — but to reap the benefits of this popular JavaScript library and its components, you need a straightforward guide that will teach you how to make the most of it.
React 18 Design Patterns and Best Practices will help you use React effectively to make your applications more flexible, easier to maintain, and improve their performance, while giving your workflow a huge boost. With a better organization of topics and knowledge about best practices added to your developer toolbox, the updated fourth edition ensures an enhanced learning experience.
The book is split into three parts; the first will teach you the fundamentals of React patterns, the second will dive into how React works, and the third will focus on real-world applications. All the code samples are updated to the latest version of React and you’ll also find plenty of new additions that explore React 18 and Node 19’s newest features, alongside MonoRepo Architecture and a dedicated chapter on TypeScript.
By the end of this book, you'll be able to efficiently build and deploy real-world React web applications.
Who is this book for?
This book is for web developers who want to master React by learning key design patterns and best practices in real-world application development. You’ll need an intermediate-level experience with React and JavaScript before you get started.
What you will learn
Get familiar with the new React 18 and Node 19 features
Explore TypeScript's basic and advanced capabilities
Make components communicate with each other by applying various patterns and techniques
Dive into MonoRepo architecture
Use server-side rendering to make applications load faster
Write a comprehensive set of tests to create robust and maintainable code
Build high-performing applications by styling and optimizing React components
I read the 3rd edition of this book, but I’m very surprised that in this new edition a lot of new content has been added, no doubt my favorite chapter was the MonoRepo Architecture and the creation of a Multi-Site Multi-Service system, non of the React books I’ve read includes real projects like this one does, definitely worths every dollar!
Amazon Verified review
John BestAug 23, 2023
5
The author does a great job laying the groundwork for what’s new in React 18, and gives the reader a solid footing in JSX and various React components and patterns that are necessary to make good use of React as a framework, and it’s a nice refresher asssuming you have some experience with previous versions already, but newcomers might find it slow going considering it’s not wholly geared towards that particular audience. However as mentioned, others will have a lot to sink their teeth into and will be presented with a lovely guide to upskilling themselves in React 18.
Amazon Verified review
Juan OrtizJul 31, 2023
5
I've been working with React Js for over 7 years ago and one of the things that matters to me is to keep my knowledge updated with all the libraries and tools we have in the javascript ecosystem.After reading this book I feel more comfortable working with the newest React 18 features just introduced. Since there's not much information out there about them explained as the author does here, I think this book deserves to be in your bookcase. The author cares from introducing you to typescript (in case you do not have the knowledge yet) to the best practices according to his experience (really remarkable).For me I feel really satisfied with this new version. It's worth it
Amazon Verified review
Violet KesterSep 25, 2023
5
I've been on the hunt for an up-to-date React/TypeScript resource to build on what I learned in bootcamp, and this book fits that bill. React 18 Design Patterns and Best Practices is for developers with a grasp on React fundamentals ready to take the next steps to grow their skillset.The book begins with a refresher of the core concepts of React, such as components, hooks, state, props, and routing. I found it helpful to review these concepts with the author, who explained them clearly and with the right level of technicality.There are a lot of code examples and explanations for testing, structuring, and styling apps, and I found them useful and easy to follow.It covers new updates in React 18 such as concurrent rendering, automatic batching, transitions, and more.It additionally demos and contextualizes a variety of popular technologies along the way (such as GraphQL, PostgreSQL, Apollo Server, Sequelize, Jest, to name a few), leaving readers with a toolkit for writing React code that's elegant, efficient, and easy to maintain.A valuable reference that I'll keep using.
Carlos Santana Roldán is a senior web developer with more than 15 years of experience. Currently, he is working as a Principal Engineer at APM Music. He is the founder of JS Education, where he teaches people web technologies such as React, Node.js, JavaScript, and TypeScript.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.