Dear Adobe team,
Our team has implemented AEM as headless with Next.js, resulting in the loss of preview mode on AEM. In order to restore the authoring experience, we have been following the AEM + Next.js documentation. We have exposed an API that provides us with NEXT_DATA and another API for generating assets-manifest.json for client-side rendering. While we were successful in rendering server-side pages on AEM, we encountered an issue where the pages were stuck in an infinite loop.
Key Points:
1. We do not utilize responsive grid for data rendering.
2. We have our own method of forming and rendering component.