From fd81d68f59b80b42e00df71ac28c2db9e1b64a41 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Tue, 7 Jun 2016 11:01:08 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/stylesheet.html | 11 ++++++++++- releases/next/docs/tutorial-core-components.html | 3 ++- releases/next/showcase.html | 2 +- versions.html | 4 ++-- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/releases/next/docs/stylesheet.html b/releases/next/docs/stylesheet.html index dd5ef911d6a..8a01750116c 100644 --- a/releases/next/docs/stylesheet.html +++ b/releases/next/docs/stylesheet.html @@ -26,7 +26,16 @@ Example:

flatten: CallExpression #

Flattens an array of style objects, into one aggregated style object. +value may be calculated differently.

absoluteFill: CallExpression #

A very common pattern is to create overlays with position absolute and zero positioning, +so absoluteFill can be used for convenience and to reduce duplication of these repeated +styles.

absoluteFillObject: ObjectExpression #

Sometimes you may want absoluteFill but with a couple tweaks - absoluteFillObject can be +used to create a customized entry in a StyleSheet, e.g.:

const styles = StyleSheet.create({ + wrapper: { + ...StyleSheet.absoluteFillObject, + top: 10, + backgroundColor: 'transparent', + }, + });

flatten: CallExpression #

Flattens an array of style objects, into one aggregated style object. Alternatively, this method can be used to lookup IDs, returned by StyleSheet.register.

NOTE: Exercise caution as abusing this can tax you in terms of optimizations.

IDs enable optimizations through the bridge and memory in general. Refering diff --git a/releases/next/docs/tutorial-core-components.html b/releases/next/docs/tutorial-core-components.html index 6fd52bf3990..da67cfd9c46 100644 --- a/releases/next/docs/tutorial-core-components.html +++ b/releases/next/docs/tutorial-core-components.html @@ -30,7 +30,8 @@ const App = } // App registration and rendering -AppRegistry.registerComponent('MyApp', () => App);

TextInput #

Direct text-based user input is a foundation for many apps. Writing a post or comment on a page is a canonical example of this. TextInput is a basic component that allows the user to enter text.

This example creates a simple TextInput box with the string Hello as the placeholder when the TextInput is empty.

import React, { AppRegistry, TextInput, View } from 'react-native' +AppRegistry.registerComponent('MyApp', () => App);

TextInput #

Direct text-based user input is a foundation for many apps. Writing a post or comment on a page is a canonical example of this. TextInput is a basic component that allows the user to enter text.

This example creates a simple TextInput box with the string Hello as the placeholder when the TextInput is empty.

import React from 'react'; +import { AppRegistry, TextInput, View } from 'react-native'; const App = () => { return ( diff --git a/releases/next/showcase.html b/releases/next/showcase.html index cb74023798a..a61174fac76 100644 --- a/releases/next/showcase.html +++ b/releases/next/showcase.html @@ -1,4 +1,4 @@ -Showcase – React Native | A framework for building native apps using React

Apps using React Native

The following is a list of some of the public apps using React Native and are published on the Apple App Store or the Google Play Store. Not all are implemented 100% in React Native -- many are hybrid native/React Native. Can you tell which parts are which? :)

Want to add your app? Found an app that no longer works or no longer uses React Native? Please submit a pull request on GitHub to update this page!

Featured Apps

These are some of the most well-crafted React Native apps that we have come across.
Be sure to check them out to get a feel for what React Native is capable of!

All Apps

Not all apps can be featured, otherwise we would have to create some other category like "super featured" and that's just silly. But that doesn't mean you shouldn't check these apps out!

AirPoPo

AirPoPo

iOS · Android

By DingTaxi

Azendoo

Azendoo

iOS · Android

By Azendoo

Blog post

Blueprint

Blueprint

iOS · Android

By Tom Hayden

breathe Meditation Timer

breathe Meditation Timer

iOS · Android

By idearockers UG

Bulut Filo Yönetimi

Bulut Filo Yönetimi

iOS · Android

By Macellan.net

CANDDi

CANDDi

iOS · Android

By CANDDi LTD.

Chemin de Fer de Provence

Chemin de Fer de Provence

iOS · Android

By Actigraph

Chillin'

Chillin'

iOS · Android

By Chillin LLC

DockMan

DockMan

iOS · Android

By Genki Takiuchi (s21g Inc.)

Blog post

DONUT chatrooms for communities

DONUT chatrooms for communities

iOS · Android

By Damien Brugne

Eat or Not

Eat or Not

iOS · Android

By Sharath Prabhal

Emoji Poetry

Emoji Poetry

iOS · Android

By forforce.com

Blog post

Fixt

Fixt

iOS · Android

By Fixt

HackerWeb

HackerWeb

iOS · Android

By Lim Chee Aun

Blog posts:

Hover

Hover

iOS · Android

By KevinEJohn

Kakapo

Kakapo

iOS · Android

By Daniel Levitt

MaxReward - Android

MaxReward - Android

iOS · Android

By Neil Ma

Mobabuild

Mobabuild

iOS · Android

By Sercan Demircan ( @sercanov )

Nabava.net

Nabava.net

iOS · Android

By Ars Futura

NeoReader

NeoReader

iOS · Android

By Neo Nie

passpoints

passpoints

iOS · Android

By passpoints.de

Reach24

Reach24

iOS · Android

By Spritle Software

쉐어하우스

쉐어하우스

iOS · Android

By Dobbit Co., Ltd.

Spatula

Spatula

iOS · Android

By Kushal Dave

TeamWarden

TeamWarden

iOS · Android

By nittygritty.net

Ticketea

Ticketea

iOS · Android

By Ticketea (@ticketeaeng)

uSwitch - Energy switching app

uSwitch - Energy switching app

iOS · Android

By uSwitch Ltd

Video

Veckopengen – för barn och föräldrar

Veckopengen – för barn och föräldrar

iOS · Android

By Barnpengar AB

Video

Vorterix

Vorterix

iOS · Android

By Dift & underscope.io

WEARVR

WEARVR

iOS · Android

By WEARVR LLC

YAMU

YAMU

iOS · Android

By YAMU (Private) Limited (@yamulk)

天才段子手

天才段子手

iOS · Android

By Ran Zhao&Ji Zhao

うたよみん

うたよみん

iOS · Android

By Takayuki IMAI

鉅亨財經新聞

鉅亨財經新聞

iOS · Android

By 鉅亨網

© 2016 Facebook Inc.

Apps using React Native

The following is a list of some of the public apps using React Native and are published on the Apple App Store or the Google Play Store. Not all are implemented 100% in React Native -- many are hybrid native/React Native. Can you tell which parts are which? :)

Want to add your app? Found an app that no longer works or no longer uses React Native? Please submit a pull request on GitHub to update this page!

Featured Apps

These are some of the most well-crafted React Native apps that we have come across.
Be sure to check them out to get a feel for what React Native is capable of!

All Apps

Not all apps can be featured, otherwise we would have to create some other category like "super featured" and that's just silly. But that doesn't mean you shouldn't check these apps out!

AirPoPo

AirPoPo

iOS · Android

By DingTaxi

Azendoo

Azendoo

iOS · Android

By Azendoo

Blog post

Blueprint

Blueprint

iOS · Android

By Tom Hayden

breathe Meditation Timer

breathe Meditation Timer

iOS · Android

By idearockers UG

Bulut Filo Yönetimi

Bulut Filo Yönetimi

iOS · Android

By Macellan.net

CANDDi

CANDDi

iOS · Android

By CANDDi LTD.

Chemin de Fer de Provence

Chemin de Fer de Provence

iOS · Android

By Actigraph

Chillin'

Chillin'

iOS · Android

By Chillin LLC

Deskbookers

Deskbookers

iOS

By Emilio Rodriguez

D.I.T.

D.I.T.

iOS

By Pavlo Tkach & Mykhailo Kovalevskyi

DockMan

DockMan

iOS · Android

By Genki Takiuchi (s21g Inc.)

Blog post

Dohop Flights

Dohop Flights

iOS · Android

By Dohop

DONUT chatrooms for communities

DONUT chatrooms for communities

iOS · Android

By Damien Brugne

Eat or Not

Eat or Not

iOS · Android

By Sharath Prabhal

Emoji Poetry

Emoji Poetry

iOS · Android

By forforce.com

Blog post

Fixt

Fixt

iOS · Android

By Fixt

HackerWeb

HackerWeb

iOS · Android

By Lim Chee Aun

Blog posts:

Hover

Hover

iOS · Android

By KevinEJohn

Kakapo

Kakapo

iOS · Android

By Daniel Levitt

MaxReward - Android

MaxReward - Android

iOS · Android

By Neil Ma

Mobabuild

Mobabuild

iOS · Android

By Sercan Demircan ( @sercanov )

Nabava.net

Nabava.net

iOS · Android

By Ars Futura

NeoReader

NeoReader

iOS · Android

By Neo Nie

passpoints

passpoints

iOS · Android

By passpoints.de

Reach24

Reach24

iOS · Android

By Spritle Software

쉐어하우스

쉐어하우스

iOS · Android

By Dobbit Co., Ltd.

Spatula

Spatula

iOS · Android

By Kushal Dave

TeamWarden

TeamWarden

iOS · Android

By nittygritty.net

Ticketea

Ticketea

iOS · Android

By Ticketea (@ticketeaeng)

uSwitch - Energy switching app

uSwitch - Energy switching app

iOS · Android

By uSwitch Ltd

Video

Veckopengen – för barn och föräldrar

Veckopengen – för barn och föräldrar

iOS · Android

By Barnpengar AB

Video

Vorterix

Vorterix

iOS · Android

By Dift & underscope.io

WEARVR

WEARVR

iOS · Android

By WEARVR LLC

YAMU

YAMU

iOS · Android

By YAMU (Private) Limited (@yamulk)

天才段子手

天才段子手

iOS · Android

By Ran Zhao&Ji Zhao

うたよみん

うたよみん

iOS · Android

By Takayuki IMAI

烘焙帮

烘焙帮

iOS

By Hongbeibang

饿小闲

饿小闲

iOS

By Eleme

鉅亨財經新聞

鉅亨財經新聞

iOS · Android

By 鉅亨網

© 2016 Facebook Inc.

React Native Versions

React Native is following a 2-week train release. Every two weeks, a Release Candidate (rc) branch is created off of master and the previous rc branch is being officially released.

masterDocs
0.28-rcDocsRelease Notes
(current) 0.27DocsRelease Notes
0.26DocsRelease Notes
0.25DocsRelease Notes
0.24DocsRelease Notes
0.23DocsRelease Notes
0.22DocsRelease Notes
0.21DocsRelease Notes
0.20DocsRelease Notes
0.19DocsRelease Notes
0.18DocsRelease Notes
© 2016 Facebook Inc.

React Native Versions

React Native is following a 2-week train release. Every two weeks, a Release Candidate (rc) branch is created off of master and the previous rc branch is being officially released.

masterDocs
0.28-rcDocsRelease Notes
(current) 0.27DocsRelease Notes
0.26DocsRelease Notes
0.25DocsRelease Notes
0.24DocsRelease Notes
0.23DocsRelease Notes
0.22DocsRelease Notes
0.21DocsRelease Notes
0.20DocsRelease Notes
0.19DocsRelease Notes
0.18DocsRelease Notes
© 2016 Facebook Inc.
\ No newline at end of file