Hands-On Design Patterns with React Native: Proven techniques and patterns to make your React Native development easy and efficient
暫譯: 實戰 React Native 設計模式:簡化與提升 React Native 開發的有效技術與模式

Mateusz Grzesiukiewicz

  • 出版商: Packt Publishing
  • 出版日期: 2018-09-28
  • 售價: $1,830
  • 貴賓價: 9.5$1,739
  • 語言: 英文
  • 頁數: 302
  • 裝訂: Paperback
  • ISBN: 1788994469
  • ISBN-13: 9781788994460
  • 相關分類: ReactCross-PlatformDesign Pattern
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Build and write cross platform native codes by using effective design patterns in the React Native world

Key Features

  • Move ahead of the crowd by leveraging industry standard native development techniques and skills
  • Leverage popular patterns like Singleton, architectural, MVC patterns etc. 
  • Use best solutions to solve given problems within React Native development

Book Description

React Native helps developers reuse code across the web and on mobile. It enables developer to develop cross-platform (iOS and Android) mobile apps without knowing Swift, ObjectiveC or Java/ 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, React and React Native. This book will start with the most standard development patterns like component building patterns, styling patterns 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, Redux Saga and GraphQL.

Aside from React and React Native patterns the book also covers pure JavaScript patterns and Functional Programming patterns. Explanations of pure and impure functions are provided and how function purity impacts Redux library architecture.

The end goal is the ability to recognize the best solution for a given problem for your next mobile application.

What you will learn

  • Design Patterns in React Native
  • Best practices for React Native development
  • Common React patterns that are highly used within React Native development
  • How to decouple logic from markup in your applications
  • What are the best ways of fetching data from the backend systems
  • Styling patterns and how to implement custom designs
  • How to decide when to use different approaches to the given problem
  • The best ways to organize your application code to be reusable

Who This Book Is For

The ideal target audience for this book would be people eager to learn React Native and 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.

商品描述(中文翻譯)

**使用有效的設計模式在 React Native 環境中構建和編寫跨平台原生代碼**

#### 主要特點
- 通過利用行業標準的原生開發技術和技能,讓自己領先於群眾
- 利用流行的模式,如單例模式、架構模式、MVC 模式等
- 使用最佳解決方案來解決 React Native 開發中的問題

#### 書籍描述
React Native 幫助開發者在網頁和移動設備上重用代碼。它使開發者能夠在不需要了解 Swift、Objective-C 或 Java/Android 的情況下,開發跨平台(iOS 和 Android)移動應用程式。

本書將向您展示在 React Native 環境中有效的設計模式,並使您為大型團隊的專業開發做好準備。

本書將專注於與 JavaScript、React 和 React Native 相關的模式。書中將從最標準的開發模式開始,如組件構建模式、樣式模式,然後將這些模式擴展到您的移動應用程式中,使用現實世界的實際範例。每一章都附有完整的、獨立的應用程式源代碼,您可以在手機上構建和運行。

本書還將深入探討架構模式,特別是如何將 MVC 適應於 React 環境。您將學習 Flux 架構以及 Redux 如何實現它。每種方法都將呈現其優缺點。您將學習如何使用 Redux thunk、Redux Saga 和 GraphQL 等庫來處理外部數據源。

除了 React 和 React Native 模式外,本書還涵蓋純 JavaScript 模式和函數式編程模式。將提供純函數和非純函數的解釋,以及函數純度如何影響 Redux 庫架構。

最終目標是能夠為您的下一個移動應用程式識別出最佳解決方案。

#### 您將學到的內容
- React Native 中的設計模式
- React Native 開發的最佳實踐
- 在 React Native 開發中高度使用的常見 React 模式
- 如何將邏輯與應用程式中的標記解耦
- 從後端系統獲取數據的最佳方法
- 樣式模式及如何實現自定義設計
- 如何決定何時對給定問題使用不同的方法
- 組織應用程式代碼以便重用的最佳方法

#### 本書適合誰
本書的理想目標讀者是渴望學習 React Native 並且已經了解 JavaScript 基礎的人。我們可以假設目標讀者已經知道如何在 JavaScript 中編寫 Hello World,並了解函數、遞歸函數、JavaScript 類型和循環。