react-native/Libraries
Janic Duplessis 1c6e837504 Add a deprecatedPropType module to show deprecation warnings
Summary:
To allow smoother API changes for users we often deprecate props and keep them around for a while before removing them. Right now it is all done manually, this adds a consistent way to show a warning when using a deprecated prop.

This also adds a deprecation warning of the website generated from the deprecatedPropType.

<img width="643" alt="screen shot 2016-01-26 at 7 43 08 pm" src="https://cloud.githubusercontent.com/assets/2677334/12600172/7af28fb0-c465-11e5-85e5-3786852bf522.png">

It also changes places where we added the warnings manually to use deprecatedPropType instead.
Closes https://github.com/facebook/react-native/pull/5566

Reviewed By: svcscm

Differential Revision: D2874629

Pulled By: nicklockwood

fb-gh-sync-id: c3c63bae7bbec26cc146029abd9aa5efbe73f795
2016-01-29 02:05:38 -08:00
..
ART Fixed ART background color 2016-01-08 15:42:32 -08:00
ActionSheetIOS ActionSheetIOS support for presentation from modal view controller 2016-01-12 03:14:35 -08:00
AdSupport Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Animated remove a typo 2016-01-06 10:33:29 -08:00
AppRegistry Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
AppState Android AppState 2016-01-21 11:47:21 -08:00
AppStateIOS Made Map & Set polyfills available globally 2016-01-20 08:27:38 -08:00
BatchedBridge Implement Android's dispatchViewManagerCommand interface on iOS 2016-01-06 05:58:37 -08:00
CameraRoll Make CameraRoll work with Promises 2016-01-21 08:07:41 -08:00
Components Add a deprecatedPropType module to show deprecation warnings 2016-01-29 02:05:38 -08:00
CustomComponents Add a deprecatedPropType module to show deprecation warnings 2016-01-29 02:05:38 -08:00
DebugComponentHierarchy Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Device Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Devtools Use pre-bundled elements inspector 2015-10-29 11:21:32 -07:00
Fetch Add fetch's clone function to Request and Response prototypes 2015-10-30 10:57:33 -07:00
Geolocation See issue #4886 2016-01-12 03:11:31 -08:00
Image Fix CPU spike: should use UIGraphicsEndImageContext rather than UIGraphicsGetCurrentContext 2016-01-28 14:25:35 -08:00
Inspector Fix warnings generated by Elements Inspector 2016-01-25 18:43:47 -08:00
Interaction Updates for haste2 inside of jest 2016-01-08 06:52:29 -08:00
JavaScriptAppEngine Disable Flow on Packager 2016-01-27 15:33:31 -08:00
LayoutAnimation Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
Linking Add cross-platform Linking module 2016-01-26 14:34:31 -08:00
LinkingIOS Add cross-platform Linking module 2016-01-26 14:34:31 -08:00
Modal Improve Modal docs describing iOS only support 2015-12-05 18:48:28 -08:00
NativeApp Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Network bind this in onreadystatechange call 2016-01-18 08:55:35 -08:00
Picker Added support for styling the PickerIOS 2015-12-08 07:48:26 -08:00
Portal Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
PullToRefresh Added ColorPropType 2015-12-23 10:08:38 -08:00
PushNotificationIOS Made Map & Set polyfills available globally 2016-01-20 08:27:38 -08:00
QuickPerformanceLogger added QPL for main interactions 2015-09-29 22:25:23 -07:00
RCTTest Standardize Error objects for Promises 2016-01-19 12:20:37 -08:00
RKBackendNode Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
ReactIOS More helpful description for native-js prop mismatch 2016-01-28 20:14:34 -08:00
ReactNative Deploy v0.20.1 2015-12-18 17:04:29 -08:00
Sample Remove invariant of Sample.ios.js that is not used 2015-05-26 18:25:00 -07:00
Settings Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
Storage Batch AsyncStorage.multiGet calls 2015-12-03 09:10:29 -08:00
StyleSheet Add a deprecatedPropType module to show deprecation warnings 2016-01-29 02:05:38 -08:00
Text Added support for auto-resizing text fields 2016-01-25 05:46:29 -08:00
Utilities Add a deprecatedPropType module to show deprecation warnings 2016-01-29 02:05:38 -08:00
Vibration Text highlighting on iOS 2015-07-24 08:41:58 -08:00
WebSocket Added an optional options parameter for WebSockets 2016-01-20 11:01:39 -08:00
react-native Add cross-platform Linking module 2016-01-26 14:34:31 -08:00
vendor Make the packager work with babel strict mode transform 2016-01-21 07:23:34 -08:00
Promise.js Add support for promise rejection tracking 2016-01-07 12:02:56 -08:00