Relative Content

Tag Archive for reactjsdebuggingnext.jsvitenpm-package

NextJS 14 App Page Freezing UI using own custom developed NPM Packages in ReactJS using ViteJS

I have nextjs 14 app using mui, I have created my own npm packages for it’s components in reactjs using vitejs, that is running perfectly fine.
Problem:
The issue I’m facing is that when i open inspect dev tools in browser and run the app it’s start rendering too much slower, like if i open settings drawer it open after 5-7 seconds of setting button click on dashboard, and same case when i switch from one route to other. it only happens while keeping open dev tools in browser and when i close the devtools it works perfectly fine like a superfast app what it needs to be.
Note:
this super slower rendering only happens on pages where i have integrated custom npm packages by linking locally using npm command,
npm link
also this happens only when devtools are open in browser.