
React and React Native
Build cross-platform JavaScript applications with native power for the web, desktop, and mobile, 4th Edition
- 606 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
React and React Native
Build cross-platform JavaScript applications with native power for the web, desktop, and mobile, 4th Edition
About this book
PUBLISHER'S NOTE: An updated 2024 edition of this book, with new emphasis on TypeScript, is now available.
Key Features
- Discover React's latest features including automatic state update batching and prioritizing state updates
- Get to grips with React architecture to write cross-platform apps using libraries such as NativeBase
- Understand GraphQL and Apollo for building a scalable backend for your applications
Book Description
Over the years, React and React Native has proven itself among JavaScript developers as a popular choice for a complete and practical guide to the React ecosystem. This fourth edition comes with the latest features, enhancements, and fixes to align with React 18, while also being compatible with React Native. It includes new chapters covering critical features and concepts in modern cross-platform app development with React.From the basics of React to popular components such as Hooks, GraphQL, and NativeBase, this definitive guide will help you become a professional React developer in a step-by-step manner. You'll begin by learning about the essential building blocks of React components. As you advance through the chapters, you'll work with higher-level functionalities in application development and then put your knowledge to work by developing user interface components for the web and native platforms. In the concluding chapters, you'll learn how to bring your application together with robust data architecture.By the end of this book, you'll be able to build React applications for the web and React Native applications for multiple mobile platforms.
What you will learn
- Explore React architecture, component properties, state, and context
- Work with React Hooks for handling functions and components
- Implement code splitting using lazy components and Suspense
- Build robust user interfaces for mobile and desktop apps using Material-UI
- Write shared components for Android and iOS apps using React Native
- Simplify layout design for React Native apps using NativeBase
- Write GraphQL schemas to power web and mobile apps
- Implement Apollo-driven components
Who this book is for
This book is for any JavaScript developer who wants to start learning how to use React and React Native for mobile and web application development. No prior knowledge of React is required, however working knowledge of JavaScript is necessary to be able to follow along the content covered.
]]>
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Fourth Edition
- React and React Native
- Preface
- Part 1 โ React
- Chapter 1: Why React?
- Chapter 2: Rendering with JSX
- Chapter 3: Component Properties, State, and Context
- Chapter 4: Getting Started with Hooks
- Chapter 5: Event Handling, the React Way
- Chapter 6: Crafting Reusable Components
- Chapter 7: The React Component Life Cycle
- Chapter 8: Validating Component Properties
- Chapter 9: Handling Navigation with Routes
- Chapter 10: Code Splitting Using Lazy Components and Suspense
- Chapter 11: Server-Side React Components
- Chapter 12: User Interface Framework Components
- Chapter 13: High-Performance State Updates
- Part 2 โ React Native
- Chapter 14: Why React Native?
- Chapter 15: React Native under the Hood
- Chapter 16: Kick-Starting React Native Projects
- Chapter 17: Building Responsive Layouts with Flexbox
- Chapter 18: Navigating Between Screens
- Chapter 19: Rendering Item Lists
- Chapter 20: Showing Progress
- Chapter 21: Geolocation and Maps
- Chapter 22: Collecting User Input
- Chapter 23: Displaying Modal Screens
- Chapter 24: Responding to User Gestures
- Chapter 25: Using Animations
- Chapter 26: Controlling Image Display
- Chapter 27: Going Offline
- Chapter 28: Selecting Native UI Components Using NativeBase
- Part 3 โ React Architecture
- Chapter 29: Handling Application State
- Chapter 30: Why GraphQL?
- Chapter 31: Building a GraphQL React App
- Other Books You May Enjoy