In next.js HMR I do the trick of using custom webpack plugin that clears metadata storage. This prevents memory leaks that would slow down the app.
In next.js HMR I do the trick of using custom webpack plugin that clears metadata storage. This prevents memory leaks that would slow down the app.