JS Party: JavaScript, CSS, Web Development · Changelog Media

A Nick-level emergency

August 1, 2024·51 min·4 clips
Node.js adds an experimental flag to strip TypeScript types, eliminating the need for a build step.
This episode of JS Party features hosts Jared, Nick, and K-Ball discussing recent developments in the Node.js and JavaScript ecosystems. They examine new experimental features in Node.js and updates to the ECMAScript specification. Node.js has introduced an experimental flag called `--experimental-strip-types` to natively strip TypeScript types from code during execution. The team also merged a built-in SQLite module into Node.js, bundling the database directly. Another addition is the `styleText` utility in Node.js for terminal text coloring, eliminating the need for libraries like Chalk. The hosts explore ECMAScript 2024 features, including `Promise.withResolvers` for better asynchronous control and `Array.prototype.groupBy` for data grouping. They note that Temporal and decorators are delayed until 2025. The conversation touches on a new utility library called "es-toolkit," which claims superior tree-shaking over Lodash. A significant portion discusses the 2023 State of React survey, revealing developer pain points with memoization and React Server Components. The survey shows Next.js has the highest satisfaction among frameworks, while Create React App retains widespread use. Josh Comeau's prediction suggests React may split into full-stack and client-only versions by 2028. The hosts debate the philosophical implications of adding more features to Node.js core, weighing convenience against potential bloat. They compare Node's moves to competitors like Deno and Bun, which natively support TypeScript. The discussion highlights the ongoing consolidation in the JavaScript ecosystem, moving common utilities into standard libraries. The tone is conversational and humorous, with playful banter between the hosts about TypeScript preferences and build steps. The style is educational but informal, blending technical analysis with personal anecdotes and community insights. Web developers interested in Node.js updates and JavaScript language evolution will find this episode valuable. Listeners who prefer deep dives into a single topic or dislike news roundtable formats might want to skip it.
Listen to the show on