mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
refactor: remove exposing React to devtools
https://github.com/newtriks/generator-react-webpack/pull/57#issuecomment-74627216 Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
parent
b5c6fb113f
commit
2659849c44
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user