react-native/Libraries/Utilities
Spencer Ahrens 6e179fb7cd [ReactNative] introduce mountSafeCallback
Summary:
`mountSafeCallback` simply wraps a callback in an `isMounted()` check to prevent crashes when old callbacks are called on unmounted components.

@public

Test Plan:
Added logging and made sure callbacks were getting called through
`mountSafeCallback` and that things worked (e.g. photo viewer rotation etc).
2015-05-13 18:36:53 -08:00
..
__mocks__ [ReactNative] Fix dimensions in jest tests 2015-04-24 14:00:35 -08:00
__tests__ [ReactNative] decompose transform matrix 2015-05-13 13:24:37 -07:00
differ [ReactNative] Fix warnings w/h => width/height 2015-05-02 10:22:59 -08:00
AlertIOS.js [ReactNative] Add prompt to AlertIOS 2015-05-13 13:24:36 -07:00
BackAndroid.ios.js [ReactNative] Replace Backstack with BackAndroid 2015-04-07 16:07:42 -08:00
CSSVarConfig.js [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
Dimensions.js [ReactNative] Fix dimensions in jest tests 2015-04-24 14:00:35 -08:00
ErrorUtils.js [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
MatrixMath.js [ReactNative] decompose transform matrix 2015-05-13 13:24:37 -07:00
MessageQueue.js [ReactNative] differentiate fatal and soft exceptions 2015-05-13 13:24:37 -07:00
PixelRatio.js [Flow] v0.11.0 cleaning - Part 14 (react-native-github) 2015-05-13 13:24:36 -07:00
Platform.ios.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
RCTLog.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
RCTRenderingPerf.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
buildStyleInterpolator.js [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
createStrictShapeTypeChecker.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
cssVar.js [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
deepFreezeAndThrowOnMutationInDev.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
groupByEveryN.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
logError.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
mergeFast.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
mergeIntoFast.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
mountSafeCallback.js [ReactNative] introduce mountSafeCallback 2015-05-13 18:36:53 -08:00
nativeModulePrefixNormalizer.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
stringifySafe.js [ReactNative] improve console logging a little bit 2015-05-04 18:57:03 -08:00
truncate.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00