← 输入框|leanpub.com|刷新

Leanpub Header

Skip to main content

Programming React Native

Programming React Native

In this book, we aim to build cross-platform mobile apps, for Android and iOS, using React Native. We'll learn what it means to build a robust application architecture that will stay with you regardless of change in the tooling or ecosystem churn (i.e. by the time you finish your app, there might be new tools and new versions of everything). Where appropriate, you'll also get a peek into how React Native works if you're that kind of a person :)

会员免费

有会员资格

免费!

$11.99

支付金额

作者利润

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
15,776
读者
关于

关于

关于本书

Programming React Native is a book that aims to teach you cross platform mobile app development for both iOS and Anrdoid with the help of Facebook's revolutional React Native framework.

We'll also try to do the impossible and build a book that will still be valuable to you for a long time, even when new libraries come out and turn the whole Javascript world upside down.

In other words, we want to teach you how to fish, rather than give you the fish.

To put it in bullets, we will:

  • Build an app that uses both Native and React Native capabilities
  • Learn the differences between iOS and Android
  • Learn about Flux and Immutable.js in the context of mobile apps
  • Optimize and build a strategy for pragmatic, real-world, code sharing
  • Learn when to use which platform-specific component
  • Understand how React Native works
  • Put good app architecture foundations down, so that even if React Native changes in the future (which is natural), information here will still be useful

作者

关于作者们

Dotan Nahum

Dotan Nahum is a founder at Paracode, a boutique software consultancy, and was a former CTO at HiredScore, an AI for HR startup, CTO at Como, a DIY mobile app maker platform. In the past years he had filled various architectural and tech lead roles in the Web and Enterprise software worlds. On his free time, he's also an avid open source creator and contributor, and builds various successful open source projects ranging from Ruby, to Go, Rust, Node.js, React.js, Ember.js, D3, Clojure, and others you can find on his Github account.

目录

目录

  • About Me
  • About This Book
    • How To Build a Book for Bleeding Edge?
    • How To Read This Book?
  • Introduction
    • About Me
    • The Revolution Has Begun
      • Cross Platform Mobile
      • React
      • React Native
      • Why This Time?
    • Book Style
      • Intended Audience
      • What This Book Is
      • What This Book Is Not
    • Breezing Through React
  • Getting Started
    • Project Layout
    • The React Native Project
      • Running Your Project
      • Making Changes
    • Bundling Your App
    • The Native iOS Project
    • The Native Android Project
    • Tooling
      • Simulator and Emulator Developer Tools
      • Native Debugging
    • Summary
  • Building React Native Components
    • A Squashed History of Javascript Frameworks
    • React.js
    • React Components
    • Completing a Kata
  • The People App
    • Features
      • Product
      • Technical
    • Potential (or: Homework)
    • Summary
  • Walkthrough
    • Walkthough Style
    • Technical Choices
      • Javascript
      • React
      • Flux
      • Folder Structure
      • Testing
    • Dissecting Our First Screen
      • Mobile List Views
    • The Groups Screen
      • Master-Detail
    • ListView and Our Master View
    • The Store
    • Bootstrapping and Navigation
    • Styling
    • The Detail Screen
    • The People (Contacts) Screen
    • Making Reusable Components
    • Using Community Components
      • Linking iOS projects
      • Linking Android Projects
      • Javascript Components
    • Summary
  • Navigation and Routing
    • Why navigation
    • Why Navigation is Scary
    • Navigation in React Native
    • Navigator vs. NavigatorIOS
    • Navigator
      • Wiring Navigator
      • ToolbarAndroid and Navigator.NavigationBar
      • ToolbarAndroid
      • Android’s Back Button
    • NavigatorIOS
    • Passing Data
    • Patterns
      • Search in Navbar
      • Custom Content in Title
      • Routed Navbar Content
      • Reactive Navbar Content
      • Getting Input
      • Spreading Props
    • Summary
  • Going Native: Native UI
    • Why go Native?
      • Performance
      • Making use of Existing Work
      • Better Tooling
      • Custom UI and Complex UI Work
      • Wrapping Existing Components
      • A General Escape Hatch
    • When Not to Go Native?
    • The Building Blocks of a Custom View
    • The ViewManager
    • Our Example: MessagesView
      • Breakdown: iOS
      • MessagesView
      • RCTMessagesViewManager
      • messagesview.ios.js
      • Breakdown: Android
      • MessagesView
      • MessagesViewManager
      • NativeControlsPackage
      • messagesview.android.js
    • Using MessagesView
    • Summary
  • Going Native: Native Modules
    • Our Example: Cryptboard
      • iOS Breakdown
      • Android Breakdown
      • Cryptboard.js
      • Bridging Promises
      • Using a Single Codebase
    • Summary

Leanpub 无条件、零风险的100%满意保证

在支付后的60天内,只需简单点击两下,您便可以退书并且取回先前支付的全部金额。
查看完整条款。

在10美元的购买中赚取8美元,在20美元的购买中赚取16美元

我们在7.99美元或以上的购买中支付80%的版税,在0.99美元到7.98美元之间的购买中支付80%的版税减去0.5美元固定费用。在10美元的销售中您可赚取8美元,在20美元的销售中可赚取16美元。因此,如果我们以20美元的价格售出5000本未退款的图书,您将赚取80,000美元。

(是的,一些作者在Leanpub上已经赚取了远超过这个数额的收入。)

了解更多关于在Leanpub上写作的信息

免费更新。无DRM。

如果你购买了Leanpub的书,只要作者更新这本书,你就可以免费获得更新!许多作者使用Leanpub在他们编写书籍的过程中发布他们的作品。所有读者都可以获得免费更新,无论他们何时购买的书或他们支付了多少钱(包括免费)。

大多数Leanpub书籍都提供PDF(适用于计算机)、EPUB(适用于手机和平板电脑)和MOBI(适用于Kindle)格式。书籍包含的格式会显示在此页面的右上角。

最后,Leanpub的书籍没有任何DRM版权保护的限制,所以你可以轻松地在任何支持的设备上阅读它们。

了解更多关于Leanpub的电子书格式以及在哪里阅读它们

在 Leanpub 上写作和出版

作者与出版社使用 Leanpub 来出版正在写作中和已完成的书籍,就像这本书一样。你也可以使用 Leanpub 来撰写、出版和销售你的作品!Leanpub 是功能强大的平台,非常适合认真的作者。它结合了简单、优雅的写作与出版流程,以及一个可销售正在写作中的电子书的线上商店。Leanpub 是作家的神奇之笔:只需编写纯文本,然后点击按钮即可出版你的电子书。真的就是这么简单。

学习更多关于在 Leanpub 上写作的信息