From 2659849c441ef2004e948dc2dad7e6be1719db96 Mon Sep 17 00:00:00 2001 From: Simon Bailey Date: Tue, 17 Feb 2015 09:58:34 +0000 Subject: [PATCH] refactor: remove exposing React to devtools https://github.com/newtriks/generator-react-webpack/pull/57#issuecomment-74627216 Signed-off-by: Simon Bailey --- templates/javascript/App.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/javascript/App.js b/templates/javascript/App.js index 091014d..565df16 100644 --- a/templates/javascript/App.js +++ b/templates/javascript/App.js @@ -3,9 +3,6 @@ var React = require('react/addons'); var ReactTransitionGroup = React.addons.TransitionGroup; -// Export React so the devtools can find it -(window !== window.top ? window.top : window).React = React; - // CSS require('../../styles/normalize.css'); require('../../styles/main.css');