From a3040e22d30ed6eaaf5f08e2c1fc9d4d0f7db40d Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 29 Mar 2017 10:38:46 +0100 Subject: [PATCH] Rename ReactPerf to Perf As this makes it work out of the box with react-perf chrome extension (which doesn't do a whole lot other than save you having to remember the commands, but is still quite nice). --- src/vector/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/index.js b/src/vector/index.js index 3b117106dd..73c004d32d 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -50,7 +50,7 @@ rageshake.init().then(() => { // access via the console global.React = require("react"); if (process.env.NODE_ENV !== 'production') { - global.ReactPerf = require("react-addons-perf"); + global.Perf = require("react-addons-perf"); } var RunModernizrTests = require("./modernizr"); // this side-effects a global