diff --git a/wdyr.js b/wdyr.js index f34dcda24..6683f98e1 100644 --- a/wdyr.js +++ b/wdyr.js @@ -1,6 +1,6 @@ import React from "react"; -if (process.env.NODE_ENV === "development") { +if (process.env.NODE_ENV === "development" && process.env.EXPO_PUBLIC_WDYR === "true") { const whyDidYouRender = require("@welldone-software/why-did-you-render"); whyDidYouRender(React, { trackAllPureComponents: true,