React Native Mobile Development in Practice cover

React Native Mobile Development in Practice

Rating 3.2
Word count
325K words
Chapters
75
ISBN
9787115470966

Tags

Summary

This book offers a comprehensive and detailed look at every aspect of the React Native framework, covering React Native fundamentals, environment setup and debugging, development basics, common components, common APIs, component encapsulation, networking and communication, hybrid development, hot updates and packaging for deployment, and complete development tutorials for two real-world projects. This wealth of content not only helps readers understand the various concepts involved in the framework but also guides them in development practice. Concise in language and rich in content, this book is suitable for mobile development engineers with some foundation in Android and iOS native development and CSS.

Editor's review

React Native Mobile Development in Action is a hands-on technical guide for intermediate and advanced front-end developers. Drawing on extensive mobile development experience, the author, Xiang Zhihong, systematically lays out the React Native knowledge system from fundamentals to advanced topics. The book's defining feature is its emphasis on hands-on practice—more than 70% of its pages focus on real commercial project scenarios, covering the complete development workflow from environment setup and component development to performance optimization and native module integration.

In terms of technical coverage, the book stays close to the latest stable React Native releases, with in-depth explanations of modern features such as the Hooks API and the new architecture (Fabric/TurboModules). Compared with similar books, its discussions of hybrid development and performance tuning stand out: it not only details multiple approaches to interacting with iOS/Android native code but also uses real cases to demonstrate advanced techniques such as memory leak diagnosis and rendering performance optimization—knowledge that often takes long-term project practice to accumulate.

Notably, the author has designed a dedicated chapter on enterprise-level project practice, using an e-commerce app as an example to demonstrate engineering practices such as state management, multi-platform adaptation, and continuous integration, helping readers bridge the gap from demo to production. The book's warnings about common development pitfalls (such as handling asynchronous operations and list performance bottlenecks) also reflect the author's deep experience in troubleshooting.

Overall, this book is suitable for developers who already have a React foundation and want to quickly master React Native's core capabilities. Its emphasis on understanding cross-platform development through a native mindset offers significant guidance for building high-quality hybrid applications.

Who it's for

A good fit for

  • Front-end engineers with a React foundation who need to quickly start cross-platform mobile app development
  • iOS/Android developers with native development experience who want to expand their cross-platform technology stack
  • Technical decision-makers evaluating or implementing enterprise-level React Native project architecture
  • Advanced developers who need to systematically improve their React Native engineering and performance optimization skills

Not a good fit for

  • Complete beginners with no JavaScript/front-end foundation who want to start from scratch
  • Those who only need to develop simple H5 pages or have very low requirements for native experience

Reading tips

  1. It is recommended to read Chapters 2–4 in full first to build core concepts, then jump to the corresponding hands-on chapters based on current practice projects
  2. Run the book's sample code while reading, focusing on component lifecycles and the debugging process for native interaction
  3. Chapters on enterprise-level development can be combined with team technical solution discussions, with attention to the design ideas in the engineering standards section

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 小结
  8. 第2章 React Native环境搭建与调试
  9. 2.1 React Native环境搭建
  10. 2.2 React Native 项目结构剖析
  11. 2.3 React Native开发IDE介绍
  12. 2.4 React Native调试技巧
  13. 2.5 React Native代码测试
  14. 2.6 小结
  15. 第3章 React Native开发基础
  16. 3.1 FlexBox布局
  17. 3.2 ES6语法基础
  18. 3.3 React JSX
  19. 3.4 样式
  20. 3.5 手势与触摸事件
  21. 3.6 小结
  22. 第4章 常用组件介绍
  23. 4.1 HTML元素与原生组件
  24. 4.2 结构化组件
  25. 4.3 平台特定组件
  26. 4.4 Touchable系列组件
  27. 4.5 小结
  28. 第5章 常用API介绍
  29. 5.1 AppRegistry
  30. 5.2 StyleSheet
  31. 5.3 AppState
  32. 5.4 AsyncStorage
  33. 5.5 PixelRatio
  34. 5.6 Animated
  35. 5.7 Geolocation
  36. 5.8 NetInfo
  37. 5.9 小结
  38. 第6章 组件封装
  39. 6.1 组件的生命周期
  40. 6.2 第三方库
  41. 6.3 自定义组件
  42. 6.4 小结
  43. 第7章 网络与通信
  44. 7.1 通信机制
  45. 7.2 Promise 机制
  46. 7.3 网络请求
  47. 7.4 小结
  48. 第8章 混合开发高级篇
  49. 8.1 React Native调用iOS原生组件
  50. 8.2 React Native调用Android原生组件
  51. 8.3 小结
  52. 第9章 热更新与打包部署
  53. 9.1 iOS应用打包
  54. 9.2 Android应用打包
  55. 9.3 热更新
  56. 9.4 小结
  57. 第10章 基于LBS的天气预报应用开发
  58. 10.1 需求分析与确定
  59. 10.2 项目设计
  60. 10.3 程序入口与工具模块
  61. 10.4 模块开发
  62. 10.5 运行结果
  63. 第11章 O2O移动团购应用
  64. 11.1 需求分析
  65. 11.2 应用设计
  66. 11.3 项目搭建与工具模块开发
  67. 11.4 功能开发
  68. 11.5 完成开发
  69. 11.6 小结
  70. 欢迎来到异步社区!
  71. 异步社区的来历
  72. 社区里都有什么?
  73. 灵活优惠的购书
  74. 社区里还可以做什么?
  75. 加入异步

FAQ

Does the book's content apply to the latest version of React Native?
The book is written based on React Native 0.60+, and the core architecture and API design principles remain stable, but some toolchain details may need to be supplemented by referring to the latest official documentation. The author continuously maintains update notes for the sample code in a GitHub repository.
How much native development foundation is needed to understand the hybrid development chapters?
The book provides step-by-step explanations of iOS/Android native environment configuration and basic module integration, but for complex native feature extensions, it is advisable to have at least a basic understanding of the corresponding platform's project structure and debugging methods.
How should the relationship between this book and the official documentation be handled?
The book focuses on the engineering practice workflow and design patterns and can serve as an in-depth application guide to the official documentation. It is recommended to use the official documentation as a quick API reference and to use the book's cases to understand the context and trade-off logic behind technical choices.

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

Xiang Zhihong is an author focused on mobile and cross-platform development technologies. Public information about him is limited, and his confirmed identity comes mainly from his published works. The library holds two of his books, WEEX Cross-Platform Development in Practice and React Native Mobile Development in Practice, both falling under computer science and programming design. His writing centers on the engineering practice of front-end and mobile frameworks, with attention to how cross-platform solutions are implemented in real projects. The content leans toward technical tutorials and hands-on guidance rather than theoretical overviews. Both titles include the phrase "in practice," suggesting a step-by-step, actionable style suited to developers who want to get started quickly with the relevant frameworks. Although his education, professional background, and institutional affiliation remain unclear, his existing works offer fairly systematic Chinese-language technical material on cross-platform mobile development and provide useful reference for domestic developers learning about WEEX and React Native.

More by the same author

Top rated in the same category