Table of Contents
Preface
Part 1 – React
Chapter 1: Why React?
What is React?
React is just the view layer
Simplicity is good
Declarative UI structures
Data changes over time
Performance matters
The right level of abstraction
What's new in React 18?
Automatic batching
State transitions
Summary
Further reading
Chapter 2: Rendering with JSX
Technical requirements
Your first JSX content
Hello JSX
Declarative UI structures
Rendering HTML
Built-in HTML tags
HTML tag conventions
Describing UI structures
Creating your own JSX elements
Encapsulating HTML
Nested elements
Namespaced components
Using JavaScript expressions
Dynamic property values and text
Mapping collections to elements
Building fragments of JSX
Using wrapper elements
Using fragments
Get React and React Native - Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.