React Native Explained in Simple Terms
Tags
Summary
Editor's review
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
- Reading in chapter order is recommended, especially not skipping the foundational first three chapters
- Run the book's example code hands-on while reading, with particular attention to practicing the debugging sections
- Read alongside the official documentation to understand the author's trade-off considerations for certain technical solutions
About the publisher
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章 走进React Native
- 1.1 React Native给我们带来了什么
- 1.2 React Native的适用场景
- 1.3 搭建React Native环境
- 1.3.1 iOS开发常见概念
- 1.3.2 Android开发常见概念
- 1.3.3 命令行构建
- 1.3.4 在现有原生项目中增加React Native环境
- 1.4 本章小结
- 第2章 React Native启动流程及视图解析
- 2.1 React Native启动流程
- 2.1.1 iOS启动流程
- 2.1.2 Android启动流程
- 2.1.3 小结
- 2.2 局部渲染React Native
- 2.2.1 iOS局部渲染
- 2.2.2 Android局部渲染
- 2.3 React Native原生视图详解
- 2.3.1 iOS——RCTRootView
- 2.3.2 Android——ReactRootView
- 2.3.3 视图长度单位
- 2.4 React Native布局方式
- 2.4.1 Flex布局
- 2.4.2 绝对定位
- 2.5 本章小结
- 第3章 文本及输入
- 3.1 Text解析
- 3.1.1 RCTTextView和ReactTextView
- 3.1.2 行间距
- 3.2 Text布局方式
- 3.2.1 Text的嵌套
- 3.2.2 同行多字号文本的对齐方式
- 3.3 文本输入——TextInput
- 3.4 软键盘
- 3.4.1 Keyboard
- 3.4.2 KeyboardAvoidingView
- 3.5 本章小结
- 第4章 事件响应机制
- 4.1 触摸事件
- 4.2 Touch组件
- 4.3 手势响应系统
- 4.3.1 响应者生命周期
- 4.3.2 PanResponder
- 4.4 原生事件机制
- 4.4.1 iOS事件机制
- 4.4.2 Android事件机制
- 4.5 本章小结
- 第5章 媒体、文件及本地存储
- 5.1 图片组件
- 5.1.1 Image属性及方法详解
- 5.1.2 原生图片组件
- 5.1.3 高性能图片组件:react-native-fast-image
- 5.2 音视频文件的操作方式
- 5.2.1 音频处理
- 5.2.2 视频处理
- 5.3 本地文件系统
- 5.3.1 iOS本地文件系统
- 5.3.2 Android本地文件系统
- 5.3.3 react-native-fs
- 5.4 本地存储
- 5.4.1 iOS本地存储方式
- 5.4.2 Android本地存储方式
- 5.4.3 React Native本地存储方式
- 5.4.4 React Native混合模式下的公共存储方案
- 5.5 本章小结
- 第6章 动画
- 6.1 布局动画——LayoutAnimation
- 6.1.1 基本用法
- 6.1.2 原生实现原理
- 6.2 交互动画——Animated
- 6.2.1 基本用法
- 6.2.2 动画的控制与组合
- 6.2.3 动画值的运算与变化
- 6.2.4 手势跟踪
- 6.3 动画实现原理及优化
- 6.3.1 动画实现原理
- 6.3.2 常见优化手段
- 6.4 本章小结
- 第7章 React Native与原生端的通信方式
- 7.1 JavaScript调用原生模块
- 7.1.1 iOS与JavaScript的通信方式
- 7.1.2 Android与JavaScript的通信方式
- 7.2 JavaScript跨平台运行原理
- 7.2.1 JavaScriptCore——iOS的JavaScript引擎
- 7.2.2 Hermes——Android的新版JavaScript引擎
- 7.3 本章小结
- 第8章 自定义原生组件
- 8.1 原生UI组件封装
- 8.1.1 iOS原生组件封装
- 8.1.2 Android原生组件封装
- 8.1.3 JavaScript直接调用原生组件方法
- 8.2 自定义插件
- 8.3 本章小结
- 第9章 React Native的导航方案
- 9.1 原生导航偏好
- 9.2 JavaScript导航——React Navigation
- 9.2.1 自定义导航
- 9.2.2 导航事件
- 9.3 原生导航——React Native Navigation
- 9.3.1 自定义导航
- 9.3.2 视图生命周期
- 9.4 混合导航探索
- 9.4.1 方案设计
- 9.4.2 扩展功能
- 9.5 本章小结
- 第10章 热更新与多实例
- 10.1 热更新
- 10.1.1 热更新流程
- 10.1.2 第三方服务
- 10.1.3 具体实现
- 10.2 App平台化——React Native多实例
- 10.2.1 多实例管理
- 10.2.2 指定渲染依赖实例
- 10.2.3 自定义原生模块依赖
- 10.2.4 多实例效果及局限
- 10.3 本章小结
- 第11章 常见场景优化
- 11.1 页面启动白屏时间
- 11.1.1 JavaScript Bundle包大小的影响
- 11.1.2 自定义原生模块的影响
- 11.1.3 页面层级深度
- 11.2 视图预加载
- 11.3 长列表优化
- 11.3.1 FlatList、SectionList和VirtualizedList
- 11.3.2 原生视图的复用
- 11.4 Tab切换
- 11.5 本章小结
- 第12章 React Native中的“微前端”
- 12.1 什么是微前端
- 12.2 React Native “微前端”探索
- 12.3 本章小结
FAQ
How much front-end background is needed to read this book?
Is the React Native version used in the book's cases outdated?
What distinguishes this book from other React Native books?
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
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.