Автор: Tejas Kumar
Издательство: O’Reilly Media, Inc.
Год: 2024
Страниц: 337
Язык: английский
Формат: pdf (true), epub (true), mobi
Размер: 10.1 MB
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this jаvascript library, including JSX syntax and advanced patterns, the virtual DOM, React reconciliation, and advanced optimization techniques. By becoming fluent in React, you'll quickly learn how to build better web applications.
Author Tejas Kumar helps you explore the depths of React in plain English, without the typical software engineering jargon, so you can more easily understand how this jаvascript library works. You'll learn how to write intuitive React code that fully understands the nuances and layers of React, unlocking a whole new level of fluency.
You will:
• Understand how React works at a deeper level
• Write React apps while optimizing them along the way
• Build resilient React applications that work well at arbitrary scale
• Create React applications for other platforms adjacent to the web and mobile devices
• Know when to reach for different mechanisms exposed by React, such as reducers versus state versus refs
In this book, you’ll dive into subjects you would likely not otherwise be exposed to that will help you “think in React” with the proper mental model. You’ll come to understand the purpose of React’s existence in the first place, which will give you a good frame of reference when considering React as a tool to solve problems. React wasn’t invented in a vacuum, and understanding the origin story will help you know the problems React is intended to solve so you can avoid putting a round peg in a square hole.
You will understand foundational concepts like JSX, the virtual DOM, reconciliation, and concurrent React, which will help you use this tool more efficiently. I’ve always believed that the best way to level up your experience with a tool is to understand how the tool works. So even if you’ve been using React for years at this point, these sections will open your mind to new possibilities and understanding as you come to really understand React, rather than just piecing things together and hoping (fingers crossed) the result is positive.
You’ll discover patterns that the pros use to build effective and powerful abstractions. React itself is a very fast UI library, but there are times when you’re building complex applications that you’ll need to reach for performance optimizations, and Tejas will show you how with the memoization, lazy loading, and state management techniques available in React. Beyond that, you’ll understand how the best libraries in the ecosystem work with patterns like compound components, render props, prop getters, state reducers, and control props. These are critical tools in your tool belt as you build React applications. Even if you’re just using off-the-shelf solutions, understanding how those powerful abstractions work will help you use them more effectively.
This book assumes we have a satisfactory understanding of this statement: browsers render web pages. Web pages are HTML documents that are styled by CSS and made interactive with jаvascript. It also assumes we’re somewhat familiar with how to use React, and that we’ve built a React app or two in our time. Ideally, some of our React apps are in production.
Скачать Fluent React: Build Fast, Performant, and Intuitive Web Applications (Final)