Hands-On Design Patterns with React Native: Proven techniques and patterns to make your React Native development easy and efficient

Mateusz Grzesiukiewicz

  • 出版商: Packt Publishing
  • 出版日期: 2018-09-28
  • 售價: $1,810
  • 貴賓價: 9.5$1,720
  • 語言: 英文
  • 頁數: 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幫助開發人員在網頁和移動平台上重複使用程式碼。它使開發人員能夠開發跨平台(iOS和Android)的移動應用,而無需了解Swift、ObjectiveC或Java/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類型和循環是什麼。