{"podcast":{"title":"PodRocket","slug":"podrocket","podcast_index_feed_id":1329334,"rss_url":"https://feeds.fireside.fm/podrocket/rss","website_url":"http://podrocket.logrocket.com","image_url":"https://media24.fireside.fm/file/fireside-images-2024/podcasts/images/3/3911462c-bca2-48c2-9103-610ba304c673/cover.jpg?v=4","author":"LogRocket","episode_count":621,"summary":"PodRocket covers everything you need to know about frontend web development on a weekly basis. Join our hosts as they interview experienced developers about all the libraries, frameworks, and tech industry issues they deal with every day.","last_synced_at":null,"page_url":"https://stenobird.com/podcast/podrocket"},"episode":{"title":"The browser APIs you're shipping libraries to replace with Kilian Valkhof","slug":"the-browser-apis-you-re-shipping-libraries-to-replace-with-kilian-valkhof","published_at":"2026-04-02T12:00:00+00:00","page_url":"https://stenobird.com/podcast/podrocket/the-browser-apis-you-re-shipping-libraries-to-replace-with-kilian-valkhof","show_page_url":"https://stenobird.com/podcast/podrocket","url":"http://podrocket.logrocket.com/the-browser-apis-youre-shipping-libraries-to-replace-with-kilian-valkhof","audio_url":"https://dts.podtrac.com/redirect.mp3/aphid.fireside.fm/d/1437767933/3911462c-bca2-48c2-9103-610ba304c673/72dcf3b2-7f73-40ae-8163-c70e0c969cf4.mp3","summary":"Stop bloating your JavaScript bundles with heavy libraries like Moment.js or date-fns for simple formatting tasks. Learn how the native JavaScript Intl API provides powerful, locale-aware string formatting for dates, currencies, and lists without any extra download cost.","meta_description":"Discover how to replace heavy npm dependencies with the native JavaScript Intl API for high-performance, locale-aware date and number formatting.","key_points":["Main idea: The Intl API is a built-in string formatting engine, not a logic library for date arithmetic","Practical takeaway: Use the Segmenter API to handle complex word and emoji boundaries across 7,000+ locales","Practical takeaway: Implement the Collator API to ensure alphabetical sorting respects language-specific rules like Spanish or Danish","Failure mode: Avoid assuming the Intl API can perform date math or time zone conversions; it is strictly for outputting formatted strings","Efficiency gain: Leveraging native browser APIs eliminates the bundle size and parsing overhead of third-party formatting libraries"],"chapters":[{"start_ms":60000,"title":"Why Developers Overlook Internationalization","summary":"The misconception that internationalization is only necessary for multi-language sites, rather than a tool for localized formatting."},{"start_ms":235000,"title":"The Intl API as a Formatting Library","summary":"Understanding that the API functions as a powerful string formatter for dates, times, and locales."},{"start_ms":405000,"title":"The Limits of Intl: String Output Only","summary":"Clarifying that the API does not handle date logic or math, only the final string representation."},{"start_ms":570000,"title":"Replacing Heavy Dependencies","summary":"Comparing the native API to libraries like Moment.js, Luxon, and date-fns to reduce bundle bloat."},{"start_ms":745000,"title":"The Importance of Locale-Aware Currency","summary":"How subtle formatting differences, like currency symbol placement, impact user trust and experience."},{"start_ms":1085000,"title":"The Evolution of Browser Specifications","summary":"How modern web standards are increasingly designed around actual developer use cases and implementation realities."},{"start_ms":1620000,"title":"Modern UI Primitives: Popovers and Top Layer","summary":"Exploring new browser features like the Popover API and how they solve long-standing z-index and layout issues."},{"start_ms":1955000,"title":"Advanced Formatting: Segmenter and Collator","summary":"Deep dive into using the Segmenter API for text parsing and the Collator API for linguistically correct sorting."}],"topics":["JavaScript Intl API","Web Development","Browser APIs","Internationalization","Frontend Performance","JavaScript Formatting","Web Standards","Software Engineering"],"duration_seconds":2307,"processing_state":"processed","actions":[{"name":"request_transcript","method":"POST","url":"https://stenobird.com/v1/public/podcasts/podrocket/episodes/the-browser-apis-you-re-shipping-libraries-to-replace-with-kilian-valkhof/transcription-requests","description":"Idempotently request low-priority transcript generation for this episode."},{"name":"read_markdown","method":"GET","url":"https://stenobird.com/podcast/podrocket/the-browser-apis-you-re-shipping-libraries-to-replace-with-kilian-valkhof.md","description":"Read the agent-friendly Markdown representation of this episode resource."}]}}