React Native Explained in Simple Terms cover

React Native Explained in Simple Terms

Rating 3.5
Word count
68K words
Chapters
134
ISBN
9787115572424

Tags

Summary

Suited for application developers on native iOS and Android platforms, as well as JavaScript developers interested in moving into mobile platform development.

Editor's review

As a technical book focused on cross-platform mobile development, Deep Dive into React Native derives its value from systematically mapping out the core knowledge system of the React Native stack. From an editorial perspective, the book's most distinctive feature is how tightly it integrates theory with practice—author Chen Luyang not only clearly explains React Native's foundational architecture and core concepts, but also demonstrates how to build high-performance mobile applications through numerous cases drawn from real-world development.

The content is organized along a progressive learning path: the opening chapters lay solid groundwork in prerequisites such as JavaScript ES6+ and React fundamentals, ensuring readers have the necessary technical background; the middle section delves into core modules including component development, state management, and navigation routing, with particular emphasis on performance optimization and debugging techniques; the final chapters address advanced topics such as native module integration, hot updates, and multi-platform adaptation, covering common requirements in enterprise-level application development. This structure suits beginners building a complete knowledge framework and also meets intermediate developers' needs to fill gaps.

Notably, the book's survey of the React Native ecosystem tools is especially practical, including comparative analysis of state management solutions such as Redux and MobX, and guidance on selecting common UI libraries. The author's judgments on technology selection reflect rich hands-on experience—for example, in-depth interpretation of the Hermes engine and forward-looking discussion of the new Fabric architecture—keeping the book highly current.

In terms of reading experience, code examples are complete and largely runnable, figures clearly mark key operational steps, and technical explanations avoid excessive abstraction. Although React Native itself iterates quickly, the book focuses on relatively stable design patterns and engineering practices, giving its methodological content lasting reference value.

Who it's for

A good fit for

  • Front-end engineers with a JavaScript foundation who want to systematically learn cross-platform mobile development
  • Technical professionals with React web development experience who need to expand into mobile
  • Technical decision-makers on teams evaluating or already adopting the React Native stack
  • Full-stack developers who need to understand modern mobile application architecture design principles

Not a good fit for

  • Complete beginners with no programming background who want a quick introduction to mobile development
  • Engineers focused on native iOS/Android development who have no need to touch cross-platform technologies

Reading tips

  1. Reading in chapter order is recommended, especially not skipping the foundational first three chapters
  2. Run the book's example code hands-on while reading, with particular attention to practicing the debugging sections
  3. Read alongside the official documentation to understand the author's trade-off considerations for certain technical solutions

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. 版权信息
  2. 内容提要
  3. 前言
  4. 第1章 走进React Native
  5. 1.1 React Native给我们带来了什么
  6. 1.2 React Native的适用场景
  7. 1.3 搭建React Native环境
  8. 1.3.1 iOS开发常见概念
  9. 1.3.2 Android开发常见概念
  10. 1.3.3 命令行构建
  11. 1.3.4 在现有原生项目中增加React Native环境
  12. 1.4 本章小结
  13. 第2章 React Native启动流程及视图解析
  14. 2.1 React Native启动流程
  15. 2.1.1 iOS启动流程
  16. 2.1.2 Android启动流程
  17. 2.1.3 小结
  18. 2.2 局部渲染React Native
  19. 2.2.1 iOS局部渲染
  20. 2.2.2 Android局部渲染
  21. 2.3 React Native原生视图详解
  22. 2.3.1 iOS——RCTRootView
  23. 2.3.2 Android——ReactRootView
  24. 2.3.3 视图长度单位
  25. 2.4 React Native布局方式
  26. 2.4.1 Flex布局
  27. 2.4.2 绝对定位
  28. 2.5 本章小结
  29. 第3章 文本及输入
  30. 3.1 Text解析
  31. 3.1.1 RCTTextView和ReactTextView
  32. 3.1.2 行间距
  33. 3.2 Text布局方式
  34. 3.2.1 Text的嵌套
  35. 3.2.2 同行多字号文本的对齐方式
  36. 3.3 文本输入——TextInput
  37. 3.4 软键盘
  38. 3.4.1 Keyboard
  39. 3.4.2 KeyboardAvoidingView
  40. 3.5 本章小结
  41. 第4章 事件响应机制
  42. 4.1 触摸事件
  43. 4.2 Touch组件
  44. 4.3 手势响应系统
  45. 4.3.1 响应者生命周期
  46. 4.3.2 PanResponder
  47. 4.4 原生事件机制
  48. 4.4.1 iOS事件机制
  49. 4.4.2 Android事件机制
  50. 4.5 本章小结
  51. 第5章 媒体、文件及本地存储
  52. 5.1 图片组件
  53. 5.1.1 Image属性及方法详解
  54. 5.1.2 原生图片组件
  55. 5.1.3 高性能图片组件:react-native-fast-image
  56. 5.2 音视频文件的操作方式
  57. 5.2.1 音频处理
  58. 5.2.2 视频处理
  59. 5.3 本地文件系统
  60. 5.3.1 iOS本地文件系统
  61. 5.3.2 Android本地文件系统
  62. 5.3.3 react-native-fs
  63. 5.4 本地存储
  64. 5.4.1 iOS本地存储方式
  65. 5.4.2 Android本地存储方式
  66. 5.4.3 React Native本地存储方式
  67. 5.4.4 React Native混合模式下的公共存储方案
  68. 5.5 本章小结
  69. 第6章 动画
  70. 6.1 布局动画——LayoutAnimation
  71. 6.1.1 基本用法
  72. 6.1.2 原生实现原理
  73. 6.2 交互动画——Animated
  74. 6.2.1 基本用法
  75. 6.2.2 动画的控制与组合
  76. 6.2.3 动画值的运算与变化
  77. 6.2.4 手势跟踪
  78. 6.3 动画实现原理及优化
  79. 6.3.1 动画实现原理
  80. 6.3.2 常见优化手段
  81. 6.4 本章小结
  82. 第7章 React Native与原生端的通信方式
  83. 7.1 JavaScript调用原生模块
  84. 7.1.1 iOS与JavaScript的通信方式
  85. 7.1.2 Android与JavaScript的通信方式
  86. 7.2 JavaScript跨平台运行原理
  87. 7.2.1 JavaScriptCore——iOS的JavaScript引擎
  88. 7.2.2 Hermes——Android的新版JavaScript引擎
  89. 7.3 本章小结
  90. 第8章 自定义原生组件
  91. 8.1 原生UI组件封装
  92. 8.1.1 iOS原生组件封装
  93. 8.1.2 Android原生组件封装
  94. 8.1.3 JavaScript直接调用原生组件方法
  95. 8.2 自定义插件
  96. 8.3 本章小结
  97. 第9章 React Native的导航方案
  98. 9.1 原生导航偏好
  99. 9.2 JavaScript导航——React Navigation
  100. 9.2.1 自定义导航
  101. 9.2.2 导航事件
  102. 9.3 原生导航——React Native Navigation
  103. 9.3.1 自定义导航
  104. 9.3.2 视图生命周期
  105. 9.4 混合导航探索
  106. 9.4.1 方案设计
  107. 9.4.2 扩展功能
  108. 9.5 本章小结
  109. 第10章 热更新与多实例
  110. 10.1 热更新
  111. 10.1.1 热更新流程
  112. 10.1.2 第三方服务
  113. 10.1.3 具体实现
  114. 10.2 App平台化——React Native多实例
  115. 10.2.1 多实例管理
  116. 10.2.2 指定渲染依赖实例
  117. 10.2.3 自定义原生模块依赖
  118. 10.2.4 多实例效果及局限
  119. 10.3 本章小结
  120. 第11章 常见场景优化
  121. 11.1 页面启动白屏时间
  122. 11.1.1 JavaScript Bundle包大小的影响
  123. 11.1.2 自定义原生模块的影响
  124. 11.1.3 页面层级深度
  125. 11.2 视图预加载
  126. 11.3 长列表优化
  127. 11.3.1 FlatList、SectionList和VirtualizedList
  128. 11.3.2 原生视图的复用
  129. 11.4 Tab切换
  130. 11.5 本章小结
  131. 第12章 React Native中的“微前端”
  132. 12.1 什么是微前端
  133. 12.2 React Native “微前端”探索
  134. 12.3 本章小结

FAQ

How much front-end background is needed to read this book?
You need basic JavaScript syntax and familiarity with common ES6 features; understanding basic React concepts is helpful. The first two chapters are devoted to prerequisite knowledge, but readers with absolutely no background may need additional study.
Is the React Native version used in the book's cases outdated?
The book was written based on React Native 0.63. Although the version number has since been updated, the core architecture and APIs remain relatively stable. The author adds notes on changes in new versions in key chapters and focuses on design patterns rather than specific APIs, so the content retains reference value.
What distinguishes this book from other React Native books?
Its distinguishing features are: 1) a complete hands-on project chapter that builds a deployable app from scratch; 2) in-depth analysis of advanced topics such as performance optimization and native integration; 3) extensive tips on pitfalls and solutions from engineering practice, drawn from the author's frontline development experience.

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

陈陆扬 Author

Chen Luyang is an author of programming books focusing on front-end development technologies. Publicly available information about him is limited, and two of his works are currently on record. His representative books, Vue.js Front-End Development: Quick Start and Professional Application and React Native in Depth, both fall under the programming and design category, with topics closely tied to mainstream front-end frameworks and cross-platform mobile development. The titles suggest that his writing addresses both quick-start and professional-application levels, lowering the barrier for beginners while also covering knowledge needed for more advanced practice, and the phrase "in depth" reflects a style that values clear conceptual explanation combined with practical examples. Overall, Chen Luyang's books center on framework application and mobile development within the JavaScript ecosystem, and are suitable for developers who want to study Vue.js and React Native systematically.

More by the same author

Top rated in the same category