From 598d37f6d5eb7bc4faf2ff7e00a2f04b6c858e56 Mon Sep 17 00:00:00 2001 From: Spencer Ahrens Date: Mon, 23 Nov 2015 13:02:05 -0800 Subject: [PATCH] Quick fix to require cycle in UnimplementedView Reviewed By: vjeux Differential Revision: D2686884 fb-gh-sync-id: 99afd8b389d5849d708654a4967dbd403ac24a9b --- Libraries/Components/UnimplementedViews/UnimplementedView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Libraries/Components/UnimplementedViews/UnimplementedView.js b/Libraries/Components/UnimplementedViews/UnimplementedView.js index 6aebef38b..1870f495b 100644 --- a/Libraries/Components/UnimplementedViews/UnimplementedView.js +++ b/Libraries/Components/UnimplementedViews/UnimplementedView.js @@ -9,7 +9,6 @@ var React = require('React'); var StyleSheet = require('StyleSheet'); -var View = require('View'); var UnimplementedView = React.createClass({ setNativeProps: function() { @@ -18,6 +17,8 @@ var UnimplementedView = React.createClass({ // See ensureComponentIsNative.js for more info }, render: function() { + // Workaround require cycle from requireNativeComponent + var View = require('View'); return ( {this.props.children}