Category: Next.js
-
Building Your First Sitecore Marketplace App: A Developer’s Quick Start Guide

The Sitecore App Marketplace for XM Cloud has officially launched, opening up exciting new possibilities for extending and customizing the platform. This quick start guide consolidates key pieces of the Sitecore documentation to help you get up and running fast. Whether you’re looking to build internal tools for your organization or create apps for the…
Alex.Lentz
-
Part 2: Advanced Debugging Strategies for Sitecore XM Cloud Development

Welcome back to our comprehensive debugging series for Sitecore XM Cloud Next.js applications! In Part 1, we covered the essential debugging techniques that form the foundation of your development workflow: VS Code integrated debugging, Sitecore JSS debug logging, custom debug logging, and programmatic debugging. Part 2 dives into advanced debugging strategies that will make you…
-
Part 1: Essential Debugging Techniques for Sitecore XM Cloud Next.js Apps

As Sitecore developers transition from traditional MVC development to headless Next.js applications with XM Cloud, one of the most common questions is: “How do I debug my application like I used to in Visual Studio?” The good news is that modern Next.js development offers even more powerful debugging capabilities than traditional server-side development. This two-part…
-
The Importance of Memoization in Next.js: Performance Optimization for Sitecore Headless Projects

Introduction As Sitecore continues to evolve with headless offerings like XM Cloud, many developers are leveraging Next.js as their frontend framework of choice. While this combination provides a powerful solution for delivering exceptional digital experiences, it also introduces new performance considerations. One technique that can significantly improve the performance of your Next.js applications is memoization.…
-
Handling Long-Running Sitecore Edge Webhooks with Next.js

When working with Sitecore Edge webhooks, you’ll quickly discover they come with specific timeout constraints that can impact your implementation. This post explores how to handle long-running processes while maintaining webhook reliability using Next.js and Vercel’s waitUntil functionality. Understanding Sitecore Edge Webhook Constraints Sitecore Edge implements an automatic deactivation system for webhooks that consistently fail.…
-
Next.js Routing: Page Router vs App Router Explained

During recent breakout sessions at Symposium, Sitecore hinted at the possibility of future support for Next.js App Router. While this isn’t an official announcement or commitment, it suggests an important direction for developers working with Sitecore and Next.js to consider. Whether you’re preparing for potential future changes or simply staying ahead of the curve, understanding…
