Getting Started with React Native (Paperback)

Ethan Holmes, Tom Bray

  • 出版商: Packt Publishing
  • 出版日期: 2015-12-17
  • 售價: $1,440
  • 貴賓價: 9.5$1,368
  • 語言: 英文
  • 頁數: 172
  • 裝訂: Paperback
  • ISBN: 1785885189
  • ISBN-13: 9781785885181
  • 相關分類: ReactCross-Platform
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Learn to build modern native iOS and Android applications using JavaScript and the incredible power of React

About This Book

  • Learn to design and build a fully-featured application using the newest cutting-edge framework from Facebook
  • Leverage your JavaScript skills to become a native app developer
  • Develop custom UI components, implement smooth navigation, and access native features such as geolocation and local storage

Who This Book Is For

This book is for web developers who want to learn to build fast, good-looking, native mobile applications using the skills they already have. If you already have some JavaScript knowledge or are using React on the web, then you will be able to quickly get up and running with React Native for iOS and Android.

What You Will Learn

  • Set up the React Native environment on both devices and emulators
  • Gain an in-depth understanding of how React Native works behind the scenes
  • Write your own custom native UI components
  • Learn the ins and outs of screen navigation
  • Master the art of layout and styles
  • Work with device-exclusive data such as geolocation
  • Develop native modules in Objective-C and Java that interact with JavaScript
  • Test and deploy your application for a production-ready environment

In Detail

React Native is a game-changing approach to hybrid mobile development. Web developers can leverage their existing skills to write mobile applications in JavaScript that are truly native without using cross-compilation or web views. These applications have all of the advantages of those written in Objective-C or Java, combined with the rapid development cycle that JavaScript developers are accustomed to.

Web developers who want to develop native mobile applications face a high barrier to entry, because they are forced to learn platform-specific languages and frameworks. Numerous hybrid technologies have tried to simplify this process, but have failed to achieve the performance and appearance that users expect.

This book will show you all the advantages of true native development that React Native has without the steep learning curve, leveraging the knowledge you already have. We do this by getting you up and running quickly with a sample application. Next, we'll introduce you to the fundamentals of creating components and explain how React Native works under the hood. Once you have established a solid foundation, you will dive headfirst into developing a real-world application from start to finish. Along the way, we will demonstrate how to create multiple screens and navigate between them,use layout and style native UI components, and access native APIs such as local storage and geolocation. Finally, we tackle the advanced topic of Native modules, which demonstrates that there are truly no limits to what you can do with React Native.

Style and approach

This book provides a simple and easy way to build mobile applications in JavaScript. Each topic takes you through the life cycle of creating a fully-functional native app, with detailed explanations of the entire process.

商品描述(中文翻譯)

學習使用JavaScript和React的強大功能,建立現代原生iOS和Android應用程式

關於本書

- 學習使用Facebook最新的尖端框架設計和建立功能完整的應用程式
- 利用JavaScript技能成為原生應用程式開發者
- 開發自訂的UI元件,實現流暢的導航,並存取地理位置和本地儲存等原生功能

適合對象

本書適合想要利用現有技能建立快速、外觀優良的原生移動應用程式的網頁開發者。如果您已經具備一些JavaScript知識或在網頁上使用React,那麼您將能夠快速上手React Native開發iOS和Android應用程式。

學習內容

- 在設備和模擬器上設置React Native環境
- 深入了解React Native的內部運作原理
- 編寫自己的自訂原生UI元件
- 學習螢幕導航的細節
- 掌握版面配置和樣式的技巧
- 使用地理位置等設備專屬資料
- 使用Objective-C和Java開發與JavaScript互動的原生模組
- 測試並部署應用程式以達到生產環境的要求

詳細內容

React Native是一種改變遊戲規則的混合式移動開發方法。網頁開發者可以利用現有的技能使用JavaScript編寫真正的原生移動應用程式,而無需使用交叉編譯或網頁視圖。這些應用程式具有Objective-C或Java編寫的應用程式的所有優勢,同時又擁有JavaScript開發人員熟悉的快速開發週期。

想要開發原生移動應用程式的網頁開發者面臨著高門檻,因為他們被迫學習特定平台的語言和框架。許多混合技術試圖簡化這個過程,但卻無法達到使用者期望的性能和外觀。

本書將向您展示React Native真正原生開發的所有優勢,同時避免陡峭的學習曲線,利用您已經具備的知識。我們將通過快速上手一個示範應用程式,介紹創建元件的基礎知識,並解釋React Native的內部運作原理。一旦您建立了堅實的基礎,您將全力以赴從頭到尾開發一個真實應用程式。在此過程中,我們將演示如何創建多個螢幕並在它們之間導航,使用版面配置和樣式原生UI元件,以及存取本地儲存和地理位置等原生API。最後,我們將探討Native模組的高級主題,這證明了使用React Native可以做到無限可能。

風格和方法

本書提供了一種簡單易懂的方式來使用JavaScript建立移動應用程式。每個主題都將帶您通過創建完全功能的原生應用程式的生命週期,並詳細解釋整個過程。