aem-spa-project-core
aem-spa-project-core copied to clipboard
Infinite number of calls to webpack-hmr on Remote SPA nextjs page and page load is very slow
Describe the bug We are using AEM Remote SPA Editor with Next.js where the pages are rendered on NextJs and noticed that infinite calls are being made for webpack-hmr, although the calls dont error out with spa core components 1.3.8 version but there is continuous call being made every second. It takes a long time for the page to render on AEM author instance
Package version 6.5.7
To Reproduce Steps to reproduce the behavior:
- Set up AEM remote spa with Nextjs
- Open any page created with remote next spa page templage
- check the network tab to see the calls to webpack-hmr
Expected behavior Not sure if this is the cause for the delay in page load on AEM, it takes a few seconds for the page to render
Screenshots
Additional context Add any other context about the problem here.