Feat: Install why-did-you-render to detect component updates #3221 (#7969)

### What problem does this PR solve?

Feat: Install why-did-you-render to detect component updates #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-05-30 12:14:44 +08:00
committed by GitHub
parent a31ad7f960
commit 02db995e94
6 changed files with 40 additions and 6 deletions

View File

@ -103,6 +103,10 @@ export const InnerBlurInput = React.forwardRef<
);
});
if (process.env.NODE_ENV !== 'production') {
InnerBlurInput.whyDidYouRender = true;
}
export const BlurInput = React.memo(InnerBlurInput);
export { ExpandedInput, Input, SearchInput };