Book Description
Hands-On Design Patterns with React Native: Proven techniques and patterns for efficient native mobile development with JavaScript
Learn how to write cross platform React Native code by using effective design patterns in the JavaScript world. Get to know industry standard patterns as well as situational patterns. Decouple your application with these set of “Idea patterns”.
Key Features
- Mobile development in React Native should be done in a reusable way.
- Learn how to build scalable applications using JavaScript patterns that are battle tested.
- Try effective techniques on your own using over 80 standalone examples.
Book Description
React Native helps developers reuse code across different mobile platforms like iOS and Android.
This book will show you effective design patterns in the React Native world and will make you ready for professional development in big teams.
The book will focus only on the patterns that are relevant to JavaScript, ECMAScript, React and React Native. However, you can successfully transfer a lot of the skills and techniques to other languages. I call them “Idea patterns”.
This book will start with the most standard development patterns in React like component building patterns, styling patterns in React Native and then extend these patterns to your mobile application using real world practical examples. Each chapter comes with full, separate source code of applications that you can build and run on your phone.
The book is also diving into architectural patterns. Especially how to adapt MVC to React environment. You will learn Flux architecture and how Redux is implementing it. Each approach will be presented with its pros and cons. You will learn how to work with external data sources using libraries like Redux thunk and Redux Saga.
The end goal is the ability to recognize the best solution for a given problem for your next mobile application.
What you will learn
- Explore the design Patterns in React Native
- Learn the best practices for React Native development
- Explore common React patterns that are highly used within React Native development
- Learn to decouple components and use dependency injection in your applications
- Explore the best ways of fetching data from the backend systems
- Learn the styling patterns and how to implement custom mobile designs
- Explore the best ways to organize your application code in big codebases
Who this book is for
The ideal target audience for this book are people eager to learn React Native design patterns who already know the basics of JavaScript. We can assume that the target audience already knows how to write Hello World in JavaScript and know what are the functions, recursive functions, JavaScript types and loops.
Table of Contents
Chapter 1 React Component Patterns
Chapter 2 View Patterns
Chapter 3 Styling Patterns
Chapter 4 Flux Architecture
Chapter 5 Store Patterns
Chapter 6 Data Transfer Patterns
Chapter 7 Navigation Patterns
Chapter 8 JavaScript and Ecmascript patterns
Chapter 9 Elements of Functional Programming patterns
Chapter 10 Managing Dependencies
Chapter 11 Managing Versions
中文:
书名:Hands-On Design Patterns with React Native
使用Reaction Native的实践设计模式:用于使用JavaScript进行高效本机移动开发的成熟技术和模式
了解如何通过在JavaScript世界中使用有效的设计模式来编写跨平台的Reaction Native代码。了解行业标准模式和情景模式。将您的应用程序与这些“想法模式”解耦。
Key Features
- Reaction Native中的移动开发应该以可重用的方式完成。
- 了解如何使用经过战斗测试的JavaScript模式构建可伸缩的应用程序。
- 使用80多个独立的例子,自己尝试有效的技术。
Book Description
Reaction Native帮助开发人员在iOS和Android等不同的移动平台上重用代码。
本书将向您展示REPACT原生世界中的有效设计模式,并为大型团队的专业发展做好准备。
本书将只关注与JavaScript、ECMAScript、Reaction和Reaction Native相关的模式。然而,你可以成功地将许多技能和技巧转移到其他语言中。我称它们为“想法模式”。
这本书将从Reaction中最标准的开发模式开始,如组件构建模式,Reaction Native中的样式模式,然后使用真实世界的实际示例将这些模式扩展到您的移动应用程序。每一章都有完整的、单独的应用程序源代码,您可以在手机上构建和运行这些应用程序。
这本书还深入探讨了建筑模式。特别是如何使MVC适应反应环境。您将学习Flux架构以及Redux是如何实现它的。每种方法都有它的利弊。您将学习如何使用Redux Thunk和Redux Saga等库处理外部数据源。
最终目标是能够为您的下一个移动应用程序识别给定问题的最佳解决方案。
你将学到什么
- 探索Reaction Native中的设计模式
- 了解Reaction本地开发的最佳实践
- 探索在REACT本地开发中经常使用的常见反应模式
- 学习解耦组件并在应用程序中使用依赖项注入
- 探索从后端系统获取数据的最佳方式
- 了解样式模式以及如何实现定制的移动设计
- 探索在大型代码库中组织应用程序代码的最佳方法
这本书是为谁而写的
这本书的理想目标读者是那些渴望学习响应原生设计模式的人,他们已经了解了JavaScript的基础知识。我们可以假设目标受众已经知道如何用JavaScript编写Hello World,并且知道什么是函数、递归函数、JavaScript类型和循环。
目录表
第1章Reaction组件模式
第2章查看模式
第三章造型图案
第4章通量体系结构
第5章商店模式
第6章数据传输模式
第七章导航模式
第8章:JavaScript和ECMAScript模式
第9章函数式编程模式的元素
第十章管理依赖关系
第11章管理版本
评论前必须登录!
注册