nexusstc/React and React Native: Build cross-platform JavaScript applications with native power for the web, desktop, and mobile/142cd829a8032cb96bd8f4de267c8aa4.pdf
REACT AND REACT NATIVE - FOURTH EDITION : build cross-platform javascript applications with... native power for the web, desktop, and mobile 🔍
Adam Boduch, Roy Derks, Mikhail Sakhniuk
Packt Publishing, Limited; Packt Publishing, 4th ed., 2022
英语 [en] · PDF · 11.8MB · 2022 · 📘 非小说类图书 · 🚀/lgli/lgrs/nexusstc/zlib · Save
描述
Get up to speed with React and React Native to build cross-platform native applications with the help of practical examples
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 React and React Native, the innovative user interface libraries made by Meta (formerly Facebook), are designed to help you build robust, cross-platform web and mobile applications.
In its fourth edition, this React and React Native book has been updated to cover the latest additions and developments in the React 18 ecosystem, while also being compatible with React Native. 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 a 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 with confidence.
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.
Table of Contents Why React? Rendering with JSX Component Properties, State, and Context Getting Started with Hooks Event Handling The React Way Crafting Reusable Components The React Component Lifecycle Validating Component Properties Handling Navigation with Routes Code Splitting Using Lazy Components and Suspense Server-Side React Components User Interface Framework Components High Performance State Updates Why React Native? React Native Under The Hood? Kickstarting React Native Projects Building Responsive Layouts with Flexbox Navigating between Screens Rendering Item Lists Showing Progress Geolocation and Maps Collecting User Input Displaying Modal Screens Animations Responding to User Gestures Controlling Image Display Going Offline Selecting Native UI Components Using NativeBase Handling Application State Why Apollo? Building an Apollo React App
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 React and React Native, the innovative user interface libraries made by Meta (formerly Facebook), are designed to help you build robust, cross-platform web and mobile applications.
In its fourth edition, this React and React Native book has been updated to cover the latest additions and developments in the React 18 ecosystem, while also being compatible with React Native. 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 a 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 with confidence.
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.
Table of Contents Why React? Rendering with JSX Component Properties, State, and Context Getting Started with Hooks Event Handling The React Way Crafting Reusable Components The React Component Lifecycle Validating Component Properties Handling Navigation with Routes Code Splitting Using Lazy Components and Suspense Server-Side React Components User Interface Framework Components High Performance State Updates Why React Native? React Native Under The Hood? Kickstarting React Native Projects Building Responsive Layouts with Flexbox Navigating between Screens Rendering Item Lists Showing Progress Geolocation and Maps Collecting User Input Displaying Modal Screens Animations Responding to User Gestures Controlling Image Display Going Offline Selecting Native UI Components Using NativeBase Handling Application State Why Apollo? Building an Apollo React App
备用文件名
lgli/React and React Native.pdf
备用文件名
lgrsnf/React and React Native.pdf
备用文件名
zlib/Computers/Web Development/Adam Boduch, Roy Derks, Mikhail Sakhniuk/React and React Native: Build cross-platform JavaScript applications with native power for the web, desktop, and mobile_21698521.pdf
备选标题
React and React Native: Build cross-platform JavaScript applications with native power for the web, desktop, and mobile, 4th Edition
备选作者
Boduch, Adam, Derks, Roy, Sakhniuk, Mikhail
备选作者
ADAM DERKS, ROY SAKHNIUK, MIKHAIL BODUCH
备用版本
United Kingdom and Ireland, United Kingdom
备用版本
Packt Publishing, Birmingham, UK, 2022
备用版本
Fourth edition, Birmingham, UK, 2022
元数据中的注释
{"edition":"4","isbns":["1803231289","9781803231280"],"last_page":559,"publisher":"Packt Publishing"}
备用描述
Cover
Title Page
Copyright and Credits
Contributors
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
Summary
Further reading
Chapter 3: Component Properties, State, and Context
Technical requirements
What is component state?
What are component properties?
Setting component state
Setting initial component state
Creating component state
Merging component state
Passing property values
Default property values
Setting property values
Stateless components
Pure functional components
Defaults in functional components
Container components
Providing and consuming context
Summary
Further reading
Chapter 4: Getting Started with Hooks
Technical requirements
Maintaining state using Hooks
Initial state values
Updating state values
Performing initialization and cleanup actions
Fetching component data
Canceling requests and resetting state
Optimizing side-effect actions
Sharing data using context Hooks
Sharing fetched data
Updating stateful context data
Using reducer Hooks to scale state management
Using reducer actions
Handling state dependencies
Summary
Chapter 5: Event Handling, the React Way
Technical requirements
Declaring event handlers
Declaring handler functions
Multiple event handlers
Importing generic handlers
Using event handler context and parameters
Getting component data
Higher-order event handlers
Declaring inline event handlers
Binding handlers to elements
Using synthetic event objects
Understanding event pooling
Summary
Further reading
Chapter 6: Crafting Reusable Components
Technical requirements
Reusable HTML elements
The difficulty with monolithic components
The JSX markup
Initial state
Event handler implementation
Refactoring component structures
Starting with the JSX
Implementing an article list component
Implementing an article item component
Implementing an add article component
Making components functional
Render props
Refactoring class components using hooks
Rendering component trees
Feature components and utility components
Summary
Further reading
Chapter 7: The React Component Life Cycle
Technical requirements
Why components need a life cycle
Initializing properties and state
Fetching component data
Initializing state with properties
Updating state with properties
Optimizing rendering efficiency
To render or not to render
Using metadata to optimize rendering
Rendering imperative components
Rendering jQuery UI widgets
Cleaning up after components
Cleaning up asynchronous calls
Containing errors with error boundaries
Summary
Further reading
Chapter 8: Validating Component Properties
Technical requirements
Knowing what to expect
Promoting portable components
Simple property validators
Basic type validation
Requiring values
Any property value
Type and value validators
Things that can be rendered
Requiring specific types
Requiring specific values
Writing custom property validators
Summary
Further reading
Chapter 9: Handling Navigation with Routes
Technical requirements
Declaring routes
Hello route
Decoupling route declarations
Handling route parameters
Resource IDs in routes
Optional parameters
Using link components
Basic linking
URL and query parameters
Summary
Further reading
Chapter 10: Code Splitting Using Lazy Components and Suspense
Technical requirements
Using the lazy API
Dynamic imports and bundles
Making components lazy
Using the Suspense component
Top-level Suspense components
Simulating latency
Working with spinner fallbacks
Avoiding lazy components
Exploring lazy pages and routes
Summary
Chapter 11: Server-Side React Components
Technical requirements
What is isomorphic JavaScript?
The server is a render target
Initial load performance
Sharing code between the server and the browser
Rendering to strings
Backend routing
Frontend reconciliation
Fetching data
Summary
Chapter 12: User Interface Framework Components
Technical requirements
Layout and organization
Using containers
Building responsive grid layouts
Using navigation components
Navigating with drawers
Navigating with tabs
Collecting user input
Checkboxes and radio buttons
Text inputs and select inputs
Working with buttons
Working with styles and themes
Making styles
Customizing themes
Summary
Chapter 13: High-Performance State Updates
Technical requirements
Batching state updates
Prioritizing state updates
Handling asynchronous state updates
Summary
Part 2 – React Native
Chapter 14: Why React Native?
Technical requirements
What is RN?
React and JSX are familiar
The mobile browser experience
Android and iOS – different yet the same
The case for mobile web apps
Summary
Further reading
Chapter 15: React Native under the Hood
Technical requirements
Exploring React Native architecture
The state of web and mobile apps in the past
React Native current architecture
React Native future architecture
Explaining JS and Native modules
React Navigation
UI component libraries
Splash screen
Icons
Handling errors
Push notifications
Over the air updates
JS libraries
Exploring React Native components and APIs
Summary
Chapter 16: Kick-Starting React Native Projects
Technical requirements
Exploring React Native CLI tools
Installing and using the Expo command-line tool
Viewing your app on your phone
Viewing your app on Expo Snack
Summary
Chapter 17: Building Responsive Layouts with Flexbox
Technical requirements
Introducing Flexbox
Introducing React Native styles
Using the Styled Components library
Building Flexbox layouts
Simple three-column layout
Improved three-column layout
Flexible rows
Flexible grids
Flexible rows and columns
Summary
Further reading
Chapter 18: Navigating Between Screens
Technical requirements
Navigation basics
Route parameters
The navigation header
Tab and drawer navigation
Summary
Further reading
Chapter 19: Rendering Item Lists
Technical requirements
Rendering data collections
Sorting and filtering lists
Fetching list data
Lazy list loading
Implementing pull to refresh
Summary
Further reading
Chapter 20: Showing Progress
Technical requirements
Understanding progress and usability
Indicating progress
Measuring progress
Exploring navigation indicators
Step progress
Summary
Further reading
Chapter 21: Geolocation and Maps
Technical requirements
Using Location API
Rendering the Map
Annotating points of interest
Plotting points
Plotting overlays
Summary
Further reading
Chapter 22: Collecting User Input
Technical requirements
Collecting text input
Selecting from a list of options
Toggling between on and off
Collecting date/time input
Summary
Further reading
Chapter 23: Displaying Modal Screens
Technical requirements
Important information
Getting user confirmation
Displaying a success confirmation
Error confirmation
Passive notifications
Activity modals
Summary
Further reading
Chapter 24: Responding to User Gestures
Technical requirements
Scrolling with your fingers
Giving touch feedback
Using Swipeable and cancellable components
Summary
Further reading
Chapter 25: Using Animations
Technical requirements
Using React Native Reanimated
Animated API
React Native Reanimated
Installing the React Native Reanimated library
Animating layout components
Animating styling components
Summary
Further reading
Chapter 26: Controlling Image Display
Technical requirements
Loading images
Resizing images
Lazy image loading
Rendering icons
Summary
Further reading
Chapter 27: Going Offline
Technical requirements
Detecting the state of the network
Storing application data
Synchronizing application data
Summary
Further reading
Chapter 28: Selecting Native UI Components Using NativeBase
Technical requirements
Application containers
Headers and footers
Using layout components
Collecting input using form components
Summary
Further reading
Part 3 – React Architecture
Chapter 29: Handling Application State
Technical requirements
Organizing state in React
Unidirectionality
Synchronous update rounds
Predictable state transformations
Unified information architecture
Implementing Context
Creating Context
Context provider
Reducer functions
The Home component
Preventing unwanted re-renders
Managing state in mobile apps
Scaling the architecture
Summary
Further reading
Chapter 30: Why GraphQL?
Approaching state with GraphQL
Understanding some verbose vernacular about GraphQL
Declarative data fetching
Mutating application state
Summary
Further reading
Chapter 31: Building a GraphQL React App
Technical requirements
Creating a Todo app
Constructing a GraphQL schema
Bootstrapping the Apollo Client
Adding todo items
Rendering todo items
Completing todo items
Summary
Further reading
Index
Other Books You May Enjoy
Title Page
Copyright and Credits
Contributors
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
Summary
Further reading
Chapter 3: Component Properties, State, and Context
Technical requirements
What is component state?
What are component properties?
Setting component state
Setting initial component state
Creating component state
Merging component state
Passing property values
Default property values
Setting property values
Stateless components
Pure functional components
Defaults in functional components
Container components
Providing and consuming context
Summary
Further reading
Chapter 4: Getting Started with Hooks
Technical requirements
Maintaining state using Hooks
Initial state values
Updating state values
Performing initialization and cleanup actions
Fetching component data
Canceling requests and resetting state
Optimizing side-effect actions
Sharing data using context Hooks
Sharing fetched data
Updating stateful context data
Using reducer Hooks to scale state management
Using reducer actions
Handling state dependencies
Summary
Chapter 5: Event Handling, the React Way
Technical requirements
Declaring event handlers
Declaring handler functions
Multiple event handlers
Importing generic handlers
Using event handler context and parameters
Getting component data
Higher-order event handlers
Declaring inline event handlers
Binding handlers to elements
Using synthetic event objects
Understanding event pooling
Summary
Further reading
Chapter 6: Crafting Reusable Components
Technical requirements
Reusable HTML elements
The difficulty with monolithic components
The JSX markup
Initial state
Event handler implementation
Refactoring component structures
Starting with the JSX
Implementing an article list component
Implementing an article item component
Implementing an add article component
Making components functional
Render props
Refactoring class components using hooks
Rendering component trees
Feature components and utility components
Summary
Further reading
Chapter 7: The React Component Life Cycle
Technical requirements
Why components need a life cycle
Initializing properties and state
Fetching component data
Initializing state with properties
Updating state with properties
Optimizing rendering efficiency
To render or not to render
Using metadata to optimize rendering
Rendering imperative components
Rendering jQuery UI widgets
Cleaning up after components
Cleaning up asynchronous calls
Containing errors with error boundaries
Summary
Further reading
Chapter 8: Validating Component Properties
Technical requirements
Knowing what to expect
Promoting portable components
Simple property validators
Basic type validation
Requiring values
Any property value
Type and value validators
Things that can be rendered
Requiring specific types
Requiring specific values
Writing custom property validators
Summary
Further reading
Chapter 9: Handling Navigation with Routes
Technical requirements
Declaring routes
Hello route
Decoupling route declarations
Handling route parameters
Resource IDs in routes
Optional parameters
Using link components
Basic linking
URL and query parameters
Summary
Further reading
Chapter 10: Code Splitting Using Lazy Components and Suspense
Technical requirements
Using the lazy API
Dynamic imports and bundles
Making components lazy
Using the Suspense component
Top-level Suspense components
Simulating latency
Working with spinner fallbacks
Avoiding lazy components
Exploring lazy pages and routes
Summary
Chapter 11: Server-Side React Components
Technical requirements
What is isomorphic JavaScript?
The server is a render target
Initial load performance
Sharing code between the server and the browser
Rendering to strings
Backend routing
Frontend reconciliation
Fetching data
Summary
Chapter 12: User Interface Framework Components
Technical requirements
Layout and organization
Using containers
Building responsive grid layouts
Using navigation components
Navigating with drawers
Navigating with tabs
Collecting user input
Checkboxes and radio buttons
Text inputs and select inputs
Working with buttons
Working with styles and themes
Making styles
Customizing themes
Summary
Chapter 13: High-Performance State Updates
Technical requirements
Batching state updates
Prioritizing state updates
Handling asynchronous state updates
Summary
Part 2 – React Native
Chapter 14: Why React Native?
Technical requirements
What is RN?
React and JSX are familiar
The mobile browser experience
Android and iOS – different yet the same
The case for mobile web apps
Summary
Further reading
Chapter 15: React Native under the Hood
Technical requirements
Exploring React Native architecture
The state of web and mobile apps in the past
React Native current architecture
React Native future architecture
Explaining JS and Native modules
React Navigation
UI component libraries
Splash screen
Icons
Handling errors
Push notifications
Over the air updates
JS libraries
Exploring React Native components and APIs
Summary
Chapter 16: Kick-Starting React Native Projects
Technical requirements
Exploring React Native CLI tools
Installing and using the Expo command-line tool
Viewing your app on your phone
Viewing your app on Expo Snack
Summary
Chapter 17: Building Responsive Layouts with Flexbox
Technical requirements
Introducing Flexbox
Introducing React Native styles
Using the Styled Components library
Building Flexbox layouts
Simple three-column layout
Improved three-column layout
Flexible rows
Flexible grids
Flexible rows and columns
Summary
Further reading
Chapter 18: Navigating Between Screens
Technical requirements
Navigation basics
Route parameters
The navigation header
Tab and drawer navigation
Summary
Further reading
Chapter 19: Rendering Item Lists
Technical requirements
Rendering data collections
Sorting and filtering lists
Fetching list data
Lazy list loading
Implementing pull to refresh
Summary
Further reading
Chapter 20: Showing Progress
Technical requirements
Understanding progress and usability
Indicating progress
Measuring progress
Exploring navigation indicators
Step progress
Summary
Further reading
Chapter 21: Geolocation and Maps
Technical requirements
Using Location API
Rendering the Map
Annotating points of interest
Plotting points
Plotting overlays
Summary
Further reading
Chapter 22: Collecting User Input
Technical requirements
Collecting text input
Selecting from a list of options
Toggling between on and off
Collecting date/time input
Summary
Further reading
Chapter 23: Displaying Modal Screens
Technical requirements
Important information
Getting user confirmation
Displaying a success confirmation
Error confirmation
Passive notifications
Activity modals
Summary
Further reading
Chapter 24: Responding to User Gestures
Technical requirements
Scrolling with your fingers
Giving touch feedback
Using Swipeable and cancellable components
Summary
Further reading
Chapter 25: Using Animations
Technical requirements
Using React Native Reanimated
Animated API
React Native Reanimated
Installing the React Native Reanimated library
Animating layout components
Animating styling components
Summary
Further reading
Chapter 26: Controlling Image Display
Technical requirements
Loading images
Resizing images
Lazy image loading
Rendering icons
Summary
Further reading
Chapter 27: Going Offline
Technical requirements
Detecting the state of the network
Storing application data
Synchronizing application data
Summary
Further reading
Chapter 28: Selecting Native UI Components Using NativeBase
Technical requirements
Application containers
Headers and footers
Using layout components
Collecting input using form components
Summary
Further reading
Part 3 – React Architecture
Chapter 29: Handling Application State
Technical requirements
Organizing state in React
Unidirectionality
Synchronous update rounds
Predictable state transformations
Unified information architecture
Implementing Context
Creating Context
Context provider
Reducer functions
The Home component
Preventing unwanted re-renders
Managing state in mobile apps
Scaling the architecture
Summary
Further reading
Chapter 30: Why GraphQL?
Approaching state with GraphQL
Understanding some verbose vernacular about GraphQL
Declarative data fetching
Mutating application state
Summary
Further reading
Chapter 31: Building a GraphQL React App
Technical requirements
Creating a Todo app
Constructing a GraphQL schema
Bootstrapping the Apollo Client
Adding todo items
Rendering todo items
Completing todo items
Summary
Further reading
Index
Other Books You May Enjoy
备用描述
Get up to speed with React and React Native to build cross-platform native applications with the help of practical examples
* 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
React and React Native, the innovative user interface libraries made by Meta (formerly Facebook), are designed to help you build robust, cross-platform web and mobile applications.
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 with confidence.
* 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
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.
1. Why React?
2. Rendering with JSX
3. Component Properties, State, and Context
4. Getting Started with Hooks
5. Event Handling The React Way
6. Crafting Reusable Components
7. The React Component Lifecycle
8. Validating Component Properties
9. Handling Navigation with Routes
10. Code Splitting Using Lazy Components and Suspense
11. Server-Side React Components
12. User Interface Framework Components
13. High Performance State Updates
14. Why React Native?
15. React Native Under The Hood?
16. Kickstarting React Native Projects
17. Building Responsive Layouts with Flexbox
18. Navigating between Screens
19. Rendering Item Lists
20. Showing Progress
21. Geolocation and Maps
22. Collecting User Input
23. Displaying Modal Screens
24. Animations
25. Responding to User Gestures
26. Controlling Image Display
27. Going Offline
28. Selecting Native UI Components Using NativeBase
29. Handling Application State
30. Why Apollo?
31. Building an Apollo React App
* 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
React and React Native, the innovative user interface libraries made by Meta (formerly Facebook), are designed to help you build robust, cross-platform web and mobile applications.
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 with confidence.
* 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
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.
1. Why React?
2. Rendering with JSX
3. Component Properties, State, and Context
4. Getting Started with Hooks
5. Event Handling The React Way
6. Crafting Reusable Components
7. The React Component Lifecycle
8. Validating Component Properties
9. Handling Navigation with Routes
10. Code Splitting Using Lazy Components and Suspense
11. Server-Side React Components
12. User Interface Framework Components
13. High Performance State Updates
14. Why React Native?
15. React Native Under The Hood?
16. Kickstarting React Native Projects
17. Building Responsive Layouts with Flexbox
18. Navigating between Screens
19. Rendering Item Lists
20. Showing Progress
21. Geolocation and Maps
22. Collecting User Input
23. Displaying Modal Screens
24. Animations
25. Responding to User Gestures
26. Controlling Image Display
27. Going Offline
28. Selecting Native UI Components Using NativeBase
29. Handling Application State
30. Why Apollo?
31. Building an Apollo React App
备用描述
PUBLISHER'S NOTE: An updated 2024 edition of this book, with new emphasis on TypeScript, is now available.Key FeaturesDiscover React's latest features including automatic state update batching and prioritizing state updatesGet to grips with React architecture to write cross-platform apps using libraries such as NativeBaseUnderstand GraphQL and Apollo for building a scalable backend for your applicationsBook DescriptionOver 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 learnExplore React architecture, component properties, state, and contextWork with React Hooks for handling functions and componentsImplement code splitting using lazy components and SuspenseBuild robust user interfaces for mobile and desktop apps using Material-UIWrite shared components for Android and iOS apps using React NativeSimplify layout design for React Native apps using NativeBaseWrite GraphQL schemas to power web and mobile appsImplement Apollo-driven componentsWho this book is forThis 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.
开源日期
2022-05-31
We strongly recommend that you support the author by buying or donating on their personal website, or borrowing in your local library.
🚀 快速下载
成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️
🐢 低速下载
由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)
- 低速服务器(合作方提供) #1 (稍快但需要排队)
- 低速服务器(合作方提供) #2 (稍快但需要排队)
- 低速服务器(合作方提供) #3 (稍快但需要排队)
- 低速服务器(合作方提供) #4 (稍快但需要排队)
- 低速服务器(合作方提供) #5 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #6 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #7 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #8 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #9 (无需排队,但可能非常慢)
- 下载后: 在我们的查看器中打开
所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
外部下载
-
对于大文件,我们建议使用下载管理器以防止中断。
推荐的下载管理器:JDownloader -
您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
推荐的电子书阅读器:Anna的档案在线查看器、ReadEra和Calibre -
使用在线工具进行格式转换。
推荐的转换工具:CloudConvert和PrintFriendly -
您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
推荐的工具:亚马逊的“发送到 Kindle”和djazz 的“发送到 Kobo/Kindle” -
支持作者和图书馆
✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。
下面的文字仅以英文继续。
总下载量:
“文件的MD5”是根据文件内容计算出的哈希值,并且基于该内容具有相当的唯一性。我们这里索引的所有影子图书馆都主要使用MD5来标识文件。
一个文件可能会出现在多个影子图书馆中。有关我们编译的各种数据集的信息,请参见数据集页面。
有关此文件的详细信息,请查看其JSON 文件。 Live/debug JSON version. Live/debug page.