Having built both traditional Twig-based Drupal portals (such as municipal websites and university platforms) and fully decoupled Headless Drupal backends (such as the Maspalomas Smart City platform and IoT/AI platforms), the first question I always ask a client is: Do you really need a decoupled frontend, or do you need a well-cached Twig frontend?
When Headless Drupal + Next.js Truly Shines
- Multi-consumer Data Hubs: When the same Drupal backend feeds a web portal, mobile apps, urban totems, or IoT dashboards via REST, JSON:API, or GraphQL.
- Application-like UIs: Complex interactive dashboards, real-time filtering, or map-heavy Smart City interfaces.
- Independent Frontend & Backend Teams: When React/Next.js engineers and Drupal backend architects work in parallel release cycles.
Key Architecture Decisions: ISR, On-Demand Revalidation & Security
In my open-source Drupal + Next.js Headless Starter, we combine Next.js App Router with Incremental Static Regeneration (ISR) and Drupal Event Subscribers that trigger on-demand webhook revalidation whenever an editor updates a node—giving editors instant updates while serving static-speed pages to users.