A framework for building native apps with React. http://facebook.github.io/react-native/
Go to file
Rob McVey 2aa52880b7 Add promise support to AsyncStorage
Summary:
Since `AsyncStorage` is the primary cache, it would be nice to stick with fetch's promise model and make the common use-case of:
1) check cache
2) make request if cache is invalid
more straightforward. Currently if I want to check a cache prior to using fetch (or another promise-based XHR lib) I have to provide a callback. I left the callback support and `resolve`/`reject` the promise after the callback has been applied.
Closes https://github.com/facebook/react-native/pull/593
Github Author: Rob McVey <mcvey@thecollective-la.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-07 01:45:26 -08:00
Examples Add promise support to AsyncStorage 2015-04-07 01:45:26 -08:00
IntegrationTests (Xcode) Set indent=2 in all xcodeproj files. 2015-04-01 17:14:45 -08:00
Libraries Add promise support to AsyncStorage 2015-04-07 01:45:26 -08:00
React [ReactNative] wrong deprecated prop check in RCTConvert 2015-04-06 14:01:12 -08:00
jestSupport [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
lint [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
packager [react-packager] Deprecate global image namespace in favor of CommonJS resolution 2015-04-03 17:19:10 -08:00
.eslintignore [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
.eslintrc [ReactNative] Turn of lint warning for constant conditions 2015-04-03 10:04:35 -08:00
.flowconfig [React Native] Sync from github 2015-03-27 22:09:11 -08:00
React.podspec [ReactNative] rename Animation to AnimationExperimental with warning docs 2015-04-04 11:20:45 -08:00
linter.js [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
package.json [react-native] Update react to 0.13.1, jstransform alongside 2015-04-02 10:58:51 -08:00
runXcodeTests.sh [React Native] Sync from github 2015-03-27 22:09:11 -08:00