Animated#interpolate()

interpolate(config) Interpolates the value before updating the property, e.g. mapping 0-1 to 0-10.

AsyncStorage.multiMerge()

static multiMerge(keyValuePairs, callback?) Merges existing values with input values, assuming they are stringified json. Returns a Promise object. Not supported by all native implementations. Example: // first user, initial values let UID234_object = { name: 'Chris', age: 30, traits: {hair: 'brown', eyes: 'brown'}, }; // first user, delta values let UID234_delta = { age: 31, traits: {eyes: 'blue', shoe_size: 10}, }; // second user, initial values let UID345_object = { name: 'Marge',

Dimensions.get()

static get(dim) Initial dimensions are set before runApplication is called so they should be available before any other require's are run, but may be updated later. Note: Although dimensions are available immediately, they may change (e.g due to device rotation) so any rendering logic or styles that depend on these constants should try to call this function on every render, rather than caching the value (for example, using inline styles rather than setting a value in a StyleSheet). Example:

Slider#thumbImage

iosthumbImage Image.propTypes.source Sets an image for the thumb. Only static images are supported.

Animated.modulo()

static modulo(a, modulus) Creates a new Animated value that is the (non-negative) modulo of the provided Animated value

WebView#injectedJavaScript

injectedJavaScript string Sets the JS to be injected when the webpage loads.

WebView#onLoadStart

onLoadStart function Invoked on load start

View#accessibilityComponentType

androidaccessibilityComponentType AccessibilityComponentType Indicates to accessibility services to treat UI component like a native one. Works for Android only.

DatePickerAndroid.dateSetAction()

static dateSetAction() A date has been selected.

Network

One of React Native's goals is to be a playground where we can experiment with different architectures and crazy ideas. Since browsers are not flexible enough, we had no choice but to reimplement the entire stack. In the places that we did not intend to change anything, we tried to be as faithful as possible to the browser APIs. The networking stack is a great example. Fetch fetch is a better networking API being worked on by the standards committee and is already available in Chrome. It is a