add why-did-you-render
This commit is contained in:
8
packages/app/src/wdyr.ts
Normal file
8
packages/app/src/wdyr.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import whyDidYouRender from "@welldone-software/why-did-you-render";
|
||||
import * as React from "react";
|
||||
|
||||
if (import.meta.env.DEV) {
|
||||
whyDidYouRender(React, {
|
||||
trackAllPureComponents: true,
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user