diff --git a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js
index 38452adec..062182edc 100644
--- a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js
+++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExBobble.js
@@ -27,7 +27,6 @@ var React = require('react');
var ReactNative = require('react-native');
var {
Animated,
- Image,
PanResponder,
StyleSheet,
View,
diff --git a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExChained.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExChained.js
index 2707620d8..0eba13082 100644
--- a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExChained.js
+++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExChained.js
@@ -27,7 +27,6 @@ var React = require('react');
var ReactNative = require('react-native');
var {
Animated,
- Image,
PanResponder,
StyleSheet,
View,
diff --git a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js
index 35c4e62f2..92199e913 100644
--- a/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js
+++ b/Examples/UIExplorer/js/AnimatedGratuitousApp/AnExTilt.js
@@ -27,10 +27,8 @@ var React = require('react');
var ReactNative = require('react-native');
var {
Animated,
- Image,
PanResponder,
StyleSheet,
- View,
} = ReactNative;
class AnExTilt extends React.Component {
diff --git a/Examples/UIExplorer/js/ImageEditingExample.js b/Examples/UIExplorer/js/ImageEditingExample.js
index 32cda6829..481335183 100644
--- a/Examples/UIExplorer/js/ImageEditingExample.js
+++ b/Examples/UIExplorer/js/ImageEditingExample.js
@@ -28,13 +28,11 @@ var {
CameraRoll,
Image,
ImageEditor,
- NativeModules,
Platform,
ScrollView,
StyleSheet,
Text,
TouchableHighlight,
- UIManager,
View,
} = ReactNative;
diff --git a/Examples/UIExplorer/js/PanResponderExample.js b/Examples/UIExplorer/js/PanResponderExample.js
index 00c5ac319..b042b7f8e 100644
--- a/Examples/UIExplorer/js/PanResponderExample.js
+++ b/Examples/UIExplorer/js/PanResponderExample.js
@@ -28,7 +28,6 @@ var {
PanResponder,
StyleSheet,
View,
- processColor,
} = ReactNative;
var CIRCLE_SIZE = 80;
diff --git a/Examples/UIExplorer/js/PickerExample.js b/Examples/UIExplorer/js/PickerExample.js
index 34024d807..7c225f7e0 100644
--- a/Examples/UIExplorer/js/PickerExample.js
+++ b/Examples/UIExplorer/js/PickerExample.js
@@ -31,7 +31,6 @@ const UIExplorerPage = require('UIExplorerPage');
const {
Picker,
Text,
- TouchableWithoutFeedback,
} = ReactNative;
const Item = Picker.Item;
diff --git a/Examples/UIExplorer/js/PickerIOSExample.js b/Examples/UIExplorer/js/PickerIOSExample.js
index 9e1b16670..ec2fe0ff9 100644
--- a/Examples/UIExplorer/js/PickerIOSExample.js
+++ b/Examples/UIExplorer/js/PickerIOSExample.js
@@ -122,8 +122,6 @@ class PickerStyleExample extends React.Component {
};
render() {
- var make = CAR_MAKES_AND_MODELS[this.state.carMake];
- var selectionString = make.name + ' ' + make.models[this.state.modelIndex];
return (
;
},
}];
-
-var styles = StyleSheet.create({
- backgroundColorText: {
- margin: 5,
- marginBottom: 0,
- backgroundColor: 'rgba(100, 100, 100, 0.3)'
- },
-});
diff --git a/Examples/UIExplorer/js/TimerExample.js b/Examples/UIExplorer/js/TimerExample.js
index bb037bcfc..989361316 100644
--- a/Examples/UIExplorer/js/TimerExample.js
+++ b/Examples/UIExplorer/js/TimerExample.js
@@ -249,18 +249,6 @@ exports.examples = [
};
render() {
- if (this.state.showTimer) {
- var timer = [
- ,
- this.refs.interval.clear() }>
- Clear interval
-
- ];
- var toggleText = 'Unmount timer';
- } else {
- var timer = null;
- var toggleText = 'Mount new timer';
- }
return (
{this.state.showTimer && this._renderTimer()}
diff --git a/Examples/UIExplorer/js/TouchableExample.js b/Examples/UIExplorer/js/TouchableExample.js
index 0de886573..44232ec31 100644
--- a/Examples/UIExplorer/js/TouchableExample.js
+++ b/Examples/UIExplorer/js/TouchableExample.js
@@ -25,13 +25,11 @@
var React = require('react');
var ReactNative = require('react-native');
var {
- PixelRatio,
Image,
StyleSheet,
Text,
TouchableHighlight,
TouchableOpacity,
- UIManager,
Platform,
TouchableNativeFeedback,
View,
diff --git a/Examples/UIExplorer/js/UIExplorerExampleContainer.js b/Examples/UIExplorer/js/UIExplorerExampleContainer.js
index 598a31dce..fdd0ea75a 100644
--- a/Examples/UIExplorer/js/UIExplorerExampleContainer.js
+++ b/Examples/UIExplorer/js/UIExplorerExampleContainer.js
@@ -29,8 +29,6 @@ const {
const UIExplorerBlock = require('./UIExplorerBlock');
const UIExplorerPage = require('./UIExplorerPage');
-const invariant = require('fbjs/lib/invariant');
-
class UIExplorerExampleContainer extends React.Component {
renderExample(example, i) {
// Filter platform-specific examples
diff --git a/Examples/UIExplorer/js/URIActionMap.js b/Examples/UIExplorer/js/URIActionMap.js
index 63051ea75..19a76b91f 100644
--- a/Examples/UIExplorer/js/URIActionMap.js
+++ b/Examples/UIExplorer/js/URIActionMap.js
@@ -22,7 +22,6 @@
*/
'use strict';
-const React = require('react');
const ReactNative = require('react-native');
const UIExplorerActions = require('./UIExplorerActions');
// $FlowFixMe : This is a platform-forked component, and flow seems to only run on iOS?
diff --git a/Examples/UIExplorer/js/createExamplePage.js b/Examples/UIExplorer/js/createExamplePage.js
index 4b04edd95..f7661a109 100644
--- a/Examples/UIExplorer/js/createExamplePage.js
+++ b/Examples/UIExplorer/js/createExamplePage.js
@@ -27,7 +27,7 @@ const React = require('react');
const UIExplorerExampleContainer = require('./UIExplorerExampleContainer');
-import type { Example, ExampleModule } from 'ExampleTypes';
+import type { ExampleModule } from 'ExampleTypes';
var createExamplePage = function(title: ?string, exampleModule: ExampleModule)
: ReactClass {
diff --git a/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js b/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js
index 4a6d99423..afc8a19c2 100644
--- a/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js
+++ b/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js
@@ -11,8 +11,6 @@
*/
'use strict';
-var warning = require('fbjs/lib/warning');
-
const DatePickerAndroid = {
async open(options: Object): Promise