All Categories
Product Description Build modular React web apps that are scalable, maintainable, and powerful using design patterns and insightful best practices Key Features Get up to speed with design patterns in React such as render props and controlled and uncontrolled inputs Become well-versed with React Hooks in this updated third edition Work through examples that can be used to create reusable code and extensible designs Book Description React is an open-source, adaptable JavaScript library for building complex user interfaces (UIs) from small, detached bits called components. This book will help you to use React effectively to make your applications more flexible, easier to maintain, and improve their performance, while giving your workflow a huge boost by improving speed without affecting quality. You'll start by understanding the internals of React, before gradually moving on to writing maintainable and clean code. The chapters that follow will show you how to build components that are reusable across the application, structure applications, and create forms that actually work. Later, you will build on your knowledge by exploring how to style React components and optimize them to make applications faster and more responsive. Finally, you'll write tests effectively and learn how to contribute to React and its ecosystem. By the end of this book, you'll be able to avoid the process of trial and error and developmental headaches, and instead, have the skills you need to efficiently build and deploy real-world React web applications. What you will learn Get to grips with the techniques of styling and optimizing React components Create components using the new React Hooks Get to grips with the new React Suspense technique and using GraphQL in your projects 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 optimizing components Who this book is for This book is for web developers who want to increase their understanding of React and apply it to real-life app development. Intermediate-level experience with React and JavaScript is assumed. Table of Contents Taking your first steps with React Cleaning Up Your Code React Hooks Exploring Popular Composition Patterns Understanding GraphQL With a Real Project Managing Data Writing Code for the Browser Making Your Components Look Beautiful Server-Side Rendering for Fun and Profit Improving the Performance of Your Applications Testing and Debugging React Router Anti-Patterns to be Avoided Deploying to Production Next Steps About the Author Carlos Santana Roldán is a senior web developer with more than 13 years of experience. Currently, he is working as a senior software engineer at Snapchat. He is the founder of JS Education, where he teaches people web technologies such as React, Node.js, JavaScript, and TypeScript.