Modern Web cover image

Modern Web

Why Does Publishing React JavaScript Packages Have to be so Hard? with Mark Erikson, Redux Maintainer

Nov 8, 2023
01:00:29
On this episode of Modern Web Podcast, Rob Ocel interviews Mark Erikson, the Redux maintainer and senior front end engineer at Replay.io. They discuss the arcane complexities of publishing JavaScript packages to NPM today, the balance between developer experience and user experience when it comes to open source libraries, the unique troubles for React/Next library authors, and the responses to Mark’s wildly successful blog about upgrading Redux to use ESM. 00:00:01] Ecosystem evolves, nobody at the wheel.[00:07:02] Open source library complexity: Dev exp. vs user exp.[00:13:11] ESM vs CJS: Technical merits, tree shaking, syntax.[00:18:35] Lazy-load files with CJS/ESM.[00:23:37] Publish libraries in multiple formats, React server components.[00:30:38] React team locks out valid code paths.[00:35:26] Open source maintainer responsibility: Maximally compatible, widely respected.[00:42:25] Competing philosophies on web evolution.[00:47:54] Unifying competing standards for developers.[00:53:19] Expertise gained through unexpected challenges. Sponsored by This Dot Labs.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode