Server-side rendering a Drupal site with Next.js

38:13 · 09 Dec 2024 – 11 Dec 2024 · YouTube

About this talk

This talk explores the benefits of decoupling the frontend of a Drupal website and rendering it in JavaScript using React Server Components. The speaker discusses the integration of Drupal's JSON:API or GraphQL with Next.js, emphasizing how this combination allows frontend developers to utilize their existing skills without needing to understand PHP or other Drupal-specific technologies. Key technical topics include the differences between JavaScript's import statement and PHP's include statement, strategies for reducing bundle size, and the implementation of interactive features within server-rendered content. John Albin presents these insights at DrupalCon Singapore 2024, focusing on the improvements to the Drupal content editor experience.

From event

DrupalCon Singapore 2024

09 Dec 2024 – 11 Dec 2024

All event videos
Back to Watch