React Native Mobile Development in Practice cover

React Native Mobile Development in Practice

No rating yet
Chapters
16
ISBN
9787111571797

Tags

Summary

This book is a hands-on tutorial for React Native mobile app development. Taking React Native app development as its main thread and iOS and Android cross-platform development as a secondary one, it ties together the knowledge involved in React Native development through the complete implementation of a typical e-commerce app example. The book has 12 chapters organized into four parts. It begins with understanding React Native's positioning and setting up the development environment, then introduces common command-line tools such as Git and Node.js, the JSX approach and Flexbox layout, and project debugging methods. It then goes deeper into commonly used components such as TextInput, Image, ListView, RefreshControl, and Navigator, as well as platform-specific and third-party components. Next, it covers APIs, a Node.js-based server, Fetch network communication, AsyncStorage, SQLite and Realm data storage, native platform interface development, and the Redux development framework. Finally, it addresses engineering aspects such as app packaging and release, hot updates, and CodePush. The chapters unfold through the step-by-step iteration of the e-commerce project, allowing readers to learn by doing and understand the framework's principles and engineering practices as they add features, refactor code, and optimize layouts. The author, Yuan Lin, has long been engaged in mobile app development, and much of the book's content comes from frontline development experience.

Editor's review

React Native自面世以来,一直是跨平台移动开发领域的重要方案;对熟悉Web前端的开发者而言,它提供了一条相对便捷的路径,可以进入原生体验的App开发。相比罗列API手册的写法,本书更接近实际工程流程:从一个电商类App出发,在搭环境、写布局、调组件、接接口、做存储、上线打包的完整链条中,逐项讲清React Native的知识点。书中的双平台视角尤其实用:同一个功能在iOS与Android上的差异、原生模块的适配与调试、发布两个平台的流程,都在正文中有所体现。四篇结构层层递进,入门篇打基础,实战篇推项目,高级篇补齐服务端、存储与状态管理,发布篇收束到热更新与CodePush。对于已经具备JavaScript基础的开发者来说,这是缩短从看懂文档到独立交付之间的距离的实用读物。

Who it's for

A good fit for

  • 有JavaScript基础、希望转向移动App开发的前端开发者
  • 具备一定iOS或Android原生经验,想引入跨平台方案的工程师
  • 需要快速完成一个电商类App原型或练手项目的中级开发者
  • 开设移动开发课程、需要案例化教材的高校教师与培训班讲师

Not a good fit for

  • 完全没有编程基础、也缺乏JavaScript语法的入门者
  • 只想查阅API速查表、不打算跟做项目的读者
  • 寻找最新版React Native与Hooks、新架构内容的读者

Reading tips

  1. 建议先通读第1篇搭好开发环境,再按章节顺序跟随电商项目逐章迭代,避免只读不练。
  2. 每读完组件或API章节,尝试把示例功能搬到自己的小项目里重写一遍,加深理解。
  3. 涉及原生适配与打包发布的章节,最好准备一台真机与两种平台的开发环境同步验证。
  4. 书出版较早,遇到API已变更的部分,请以官方文档为准,把本书当作工程思路与流程的参考。

About the publisher

China Machine Press China · Founded in 1950

In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.

Contents

  1. Part 1: React Native Basics and Foundations
  2. Chapter 1: Why Learn React Native
  3. Chapter 2: A Comprehensive Look at the Foundational Technologies of React Native Development
  4. Part 2: React Native Application Development in Practice
  5. Chapter 3: React Native Components (1)
  6. Chapter 4: React Native Components (2)
  7. Chapter 5: Native Platform Adaptation and Debugging
  8. Part 3: Advanced React Native Applications
  9. Chapter 6: React Native APIs
  10. Chapter 7: Node.js-Based Server Development
  11. Chapter 8: Data Storage
  12. Chapter 9: Native Platform Interface Development
  13. Chapter 10: The Redux Development Framework
  14. Part 4: Release and Hot Updates
  15. Chapter 11: Application Packaging and Release
  16. Chapter 12: Hot Updates and CodePush

FAQ

这本书的作者是谁,由哪家出版社出版?
本书由袁林著,机械工业出版社出版,2017年7月第1版,ISBN-13为9787111571797,全书约306页。
这本书和向治洪的同名书是同一本吗?
不是。向治洪所著的《React Native移动开发实战》由人民邮电出版社出版,已出到第3版;本书为袁林所著、机械工业出版社2017年出版的版本,两者作者、内容与目录均不同。
零基础可以直接读这本书吗?
不太建议。书中假设读者具备JavaScript与React基础,并了解一些原生开发概念;完全没有编程经验的读者,宜先补充JavaScript与React入门知识。
书中的技术内容现在还有效吗?
书中关于组件、网络请求、存储、Redux与打包发布的思路仍有参考价值,但React Native版本更新较快,ListView、Navigator等部分API已被新方案替代,实际开发请结合官方文档。

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

Yuan Lin: public information is limited. What can be confirmed is that Yuan Lin is the author of the book Basic Theoretical Research on Bimetallic Composite Pipes, which is classified under industrial technology. Based on the available information, Yuan Lin's research and writing focus on bimetallic composite pipes, an interdisciplinary field combining materials science and engineering, and address the subject at the level of basic theory. Because there are no further records of his or her biography or academic background, it is not possible to determine institutional affiliation, the full scope of research interests, or other publications. As for the single work held in the database, its title indicates a emphasis on theoretical review and analysis of fundamental problems, and its intended readers are likely technicians or researchers in materials, mechanical engineering, petrochemicals, and other fields related to pipeline engineering. Overall, within the database Yuan Lin appears as an author who writes specialized works on a specific industrial materials problem, and further material would be needed to assess his or her writing style and influence.

More by the same author

Top rated in the same category