Syntax - Tasty Web Development Treats

965: Baseline 2025 Features web gained in 2025

44 snips
Dec 22, 2025
Scott and Wes explore the 24 new web APIs that became available in 2025, highlighting the most impactful features. They dive into same-document view transitions for SPAs and the new CSS abs() function for complex calculations. The conversation covers the Popover API's role in tooltip positioning and the benefits of base64 to Uint8Array for better binary data handling. They also discuss how Promise.try enhances synchronous functions in promise chains and the performance considerations of content-visibility for rendering control.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Seamless Same-Document View Transitions

  • Same-document view transitions let you animate elements moving between DOM locations without manual tweening.
  • Wes Bos says document.startViewTransition snapshots and tweens elements to new positions for smooth SPA animations.
ADVICE

Prefer View Transitions Over JS Tweens

  • Use view transitions as your default approach for complex element-to-element animations before reaching for heavy JavaScript.
  • Scott Tolinski says view transitions are often the easiest solution for many UI animations.
INSIGHT

CSS Gains abs() For Math

  • CSS gained an abs() function to return absolute values inside calc and animations.
  • Wes Bos predicts abs() will be useful for complex animations and calculations requiring non-negative values.
Get the Snipd Podcast app to discover more snips from this episode
Get the app