Syntax - Tasty Web Development Treats

901: JS News: New React & Svelte APIs, RSC Updates, Redwood and Storybook

64 snips
May 12, 2025
Dive into the latest JavaScript buzz, from new async patterns in Svelte to exciting updates in React Server Components tooling. Discover how Storybook 9 Beta is streamlining visual testing and enhancing builds. The hosts also discuss the Redwood framework's shift towards a GraphQL-centric approach and its new SDK, promising sharper performance. Get ready for smoother user experiences with React's innovative transition APIs, making for a more dynamic web!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

React View Transitions Shine

  • React's new experimental view transitions API allows smooth animations between states or pages with minimal code.
  • It leverages the browser to handle animations, reducing the need for extra libraries or heavy JavaScript.
INSIGHT

React Activity API Benefits UX

  • React's Activity API enables pre-rendering components without visible mounting while preserving their state.
  • This improves user experience by keeping UI parts ready and maintaining state, such as search queries, during transitions.
INSIGHT

Asynchronous Svelte Components

  • Svelte introduces async component-level data loading with await inside script tags, improving flexibility.
  • This minimal-ceremony design avoids complex APIs and aligns with Svelte's simplicity while supporting concurrent asynchronous work.
Get the Snipd Podcast app to discover more snips from this episode
Get the app