Files
zeekay 55a7f247ca init: extract wallet from lux/exchange monorepo
Copies apps/extension, apps/mobile and 10 pkgs (wallet, ui, config,
utilities, sessions, gating, notifications, analytics, eslint-config,
prices) into a standalone pnpm workspace.  Resolves merge conflict
markers in extension and mobile package.json files, strips build
artifacts (.wxt, .output, Pods).
2026-04-11 01:59:19 -07:00

14 lines
554 B
TypeScript

/// <reference types="@welldone-software/why-did-you-render" />
import React from 'react'
if (process.env.NODE_ENV === 'development') {
// The library should NEVER be used in production because it slows down React
const whyDidYouRender = require('@welldone-software/why-did-you-render')
// Default to not tracking all components, add whyDidYouRender = true to component functions you want to track
whyDidYouRender(React, {
trackAllPureComponents: false,
// trackHooks: true,
// trackExtraHooks: [[ReactRedux, 'useSelector']],
})
}