Web: Updated @welldone-software/why-did-you-render, move it to the common devDependencies
This commit is contained in:
parent
fabaaef0f9
commit
8c6de99101
@ -16,6 +16,9 @@
|
|||||||
"proxy": {
|
"proxy": {
|
||||||
"url": ""
|
"url": ""
|
||||||
},
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@welldone-software/why-did-you-render": "^6.2.1"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
"global": "^4.4.0",
|
"global": "^4.4.0",
|
||||||
|
@ -5,8 +5,5 @@ if (process.env.NODE_ENV === "development") {
|
|||||||
whyDidYouRender(React, {
|
whyDidYouRender(React, {
|
||||||
trackAllPureComponents: true,
|
trackAllPureComponents: true,
|
||||||
collapseGroups: true,
|
collapseGroups: true,
|
||||||
//trackExtraHooks: [
|
|
||||||
// [ReactRedux, 'useSelector']
|
|
||||||
//]
|
|
||||||
});
|
});
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
//import "./wdyr";
|
import "@appserver/common/utils/wdyr";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Shell from "studio/shell";
|
import Shell from "studio/shell";
|
||||||
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//import "./wdyr";
|
import "@appserver/common/utils/wdyr";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Shell from "studio/shell";
|
import Shell from "studio/shell";
|
||||||
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
|
|
||||||
if (process.env.NODE_ENV === "development") {
|
|
||||||
const whyDidYouRender = require("@welldone-software/why-did-you-render");
|
|
||||||
whyDidYouRender(React, {
|
|
||||||
trackAllPureComponents: true,
|
|
||||||
collapseGroups: true,
|
|
||||||
//trackExtraHooks: [
|
|
||||||
// [ReactRedux, 'useSelector']
|
|
||||||
//]
|
|
||||||
});
|
|
||||||
}
|
|
@ -44,7 +44,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.15.4",
|
"@babel/runtime": "^7.15.4",
|
||||||
"@welldone-software/why-did-you-render": "^4.2.5",
|
|
||||||
"attr-accept": "^2.2.2",
|
"attr-accept": "^2.2.2",
|
||||||
"axios": "^0.21.0",
|
"axios": "^0.21.0",
|
||||||
"copy-to-clipboard": "^3.2.0",
|
"copy-to-clipboard": "^3.2.0",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//import "./wdyr";
|
import "@appserver/common/utils/wdyr";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Shell from "studio/shell";
|
import Shell from "studio/shell";
|
||||||
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
|
|
||||||
if (process.env.NODE_ENV === "development") {
|
|
||||||
const whyDidYouRender = require("@welldone-software/why-did-you-render");
|
|
||||||
whyDidYouRender(React, {
|
|
||||||
trackAllPureComponents: true,
|
|
||||||
collapseGroups: true,
|
|
||||||
//trackExtraHooks: [
|
|
||||||
// [ReactRedux, 'useSelector']
|
|
||||||
//]
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
//import "./wdyr";
|
import "@appserver/common/utils/wdyr";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Shell from "studio/shell";
|
import Shell from "studio/shell";
|
||||||
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
|
|
||||||
if (process.env.NODE_ENV === "development") {
|
|
||||||
const whyDidYouRender = require("@welldone-software/why-did-you-render");
|
|
||||||
whyDidYouRender(React, {
|
|
||||||
trackAllPureComponents: true,
|
|
||||||
collapseGroups: true,
|
|
||||||
//trackExtraHooks: [
|
|
||||||
// [ReactRedux, 'useSelector']
|
|
||||||
//]
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
//import "./wdyr";
|
import "@appserver/common/utils/wdyr";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Shell from "studio/shell";
|
import Shell from "studio/shell";
|
||||||
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
|
|
||||||
if (process.env.NODE_ENV === "development") {
|
|
||||||
const whyDidYouRender = require("@welldone-software/why-did-you-render");
|
|
||||||
whyDidYouRender(React, {
|
|
||||||
trackAllPureComponents: true,
|
|
||||||
collapseGroups: true,
|
|
||||||
//trackExtraHooks: [
|
|
||||||
// [ReactRedux, 'useSelector']
|
|
||||||
//]
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
//import "./wdyr";
|
import "@appserver/common/utils/wdyr";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import Shell from "studio/shell";
|
import Shell from "studio/shell";
|
||||||
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
import ErrorBoundary from "@appserver/common/components/ErrorBoundary";
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
import React from "react";
|
|
||||||
|
|
||||||
if (process.env.NODE_ENV === "development") {
|
|
||||||
const whyDidYouRender = require("@welldone-software/why-did-you-render");
|
|
||||||
whyDidYouRender(React, {
|
|
||||||
trackAllPureComponents: true,
|
|
||||||
collapseGroups: true,
|
|
||||||
//trackExtraHooks: [
|
|
||||||
// [ReactRedux, 'useSelector']
|
|
||||||
//]
|
|
||||||
});
|
|
||||||
}
|
|
@ -5002,10 +5002,10 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.5.2.tgz#ea584b637ff63c5a477f6f21604b5a205b72c9ec"
|
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.5.2.tgz#ea584b637ff63c5a477f6f21604b5a205b72c9ec"
|
||||||
integrity sha512-vgJ5OLWadI8aKjDlOH3rb+dYyPd2GTZuQC/Tihjct6F9GpXGZINo3Y/IVuZVTM1eDQB+/AOsjPUWH/WySDaXvw==
|
integrity sha512-vgJ5OLWadI8aKjDlOH3rb+dYyPd2GTZuQC/Tihjct6F9GpXGZINo3Y/IVuZVTM1eDQB+/AOsjPUWH/WySDaXvw==
|
||||||
|
|
||||||
"@welldone-software/why-did-you-render@^4.2.5":
|
"@welldone-software/why-did-you-render@^6.2.1":
|
||||||
version "4.3.2"
|
version "6.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/@welldone-software/why-did-you-render/-/why-did-you-render-4.3.2.tgz#db1c700df1729402f2ceacf05cebd72dca30f1af"
|
resolved "https://registry.yarnpkg.com/@welldone-software/why-did-you-render/-/why-did-you-render-6.2.1.tgz#6a87926cc8386b748dc07341cf495caa5be1db28"
|
||||||
integrity sha512-pzaFmUUH+FjbsDgcMB1xNPncIaxibvo0FLbGySLIh+v+7Bp5pqSJFO6zlqo4orPLm3nAdYEgL2vrlj8befoypg==
|
integrity sha512-eIVKeK6ueS3tuzCqMVTaaNrPYvb9cA8NHiNgLA7Op8SD4TiT31zqNjxmhzLEK+y3sBxcwr6YhsiQGX9EThrvaw==
|
||||||
dependencies:
|
dependencies:
|
||||||
lodash "^4"
|
lodash "^4"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user