@samitouri / QOS-React / commits / e612826650

Revert "temporary compatibility fix" (#8256)

This reverts commit bba0d992d8f4ecf9cf6677817a1218e7f48a8a77.

Dan Abramov committed Nov 10, 2016 at 16:03 UTC e612826650ff68e73bff4d71db01fea8147ee1fd
2 files changed -18
src/isomorphic/hooks/ReactComponentTreeDevtool.js deleted
-14
@@ -1,14 +0,0 @@
1 -/**
2 - * Copyright 2016-present, Facebook, Inc.
3 - * All rights reserved.
4 - *
5 - * This source code is licensed under the BSD-style license found in the
6 - * LICENSE file in the root directory of this source tree. An additional grant
7 - * of patent rights can be found in the PATENTS file in the same directory.
8 - *
9 - * @providesModule ReactComponentTreeDevtool
10 - */
11 -'use strict';
12 -
13 -// TODO remove this proxy when RN/www gets updated
14 -module.exports = require('ReactComponentTreeHook');
src/renderers/shared/ReactDebugTool.js
-4
@@ -409,10 +409,6 @@ var ReactDebugTool = {
409 },
410 };
411
412 -// TODO remove these when RN/www gets updated
413 -(ReactDebugTool: any).addDevtool = ReactDebugTool.addHook;
414 -(ReactDebugTool: any).removeDevtool = ReactDebugTool.removeHook;
415 -
412 ReactDebugTool.addHook(ReactInvalidSetStateWarningHook);
413 ReactDebugTool.addHook(ReactComponentTreeHook);
414 var url = (ExecutionEnvironment.canUseDOM && window.location.href) || '';