JavaScript Jabber

Reinventing Web Development with Brisa: A Conversation with Aral Roca - JSJ 677

15 snips
May 15, 2025
In this engaging discussion, Aral Roca, an open-source enthusiast from Barcelona and the creator of Brisa, dives into reinventing web development. He shares how Brisa allows for minimal or zero client-side JavaScript, focusing on server-side actions and streaming HTML. The framework’s lightweight nature catches attention, with components that are incredibly small and efficient. Aral reveals future plans for multi-platform integration and improved features, tantalizing developers with endless possibilities in web frameworks.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Brisa's Server-First Design

  • Brisa enables building web apps with minimal or zero client-side JavaScript by leveraging server rendering and HTML streaming.
  • Its architecture focuses on server-first interactions with optional tiny client web components for enhanced functionality.
INSIGHT

Server Actions Drive Performance

  • Server actions in Brisa handle events entirely on the server, capturing clicks, scrolls, and form inputs with event propagation.
  • This approach removes the client-side event normalization and rendering overhead for faster app interactions via HTML streaming.
ADVICE

Manage State with Server Store

  • Use Brisa's server-side store to fetch and share data during the request lifecycle for consistent state across components.
  • Persist data by updating external databases inside server actions, and initialize store data on page render.
Get the Snipd Podcast app to discover more snips from this episode
Get the app