Front-End Fire

Is es-toolkit the Lodash Killer?

· Summarized

Share this episode
Anyone with this link can open it.
Share Link
Start at 0:00

Key takeaways

  • ES Toolkit presents a competitive alternative to Lodash, boasting improved performance and modern JavaScript practices.
  • ORPC enhances the developer experience by making API interactions more seamless and documented through OpenAI integration.
  • The Stack Overflow Developer Survey reveals JavaScript's continued dominance, while noting a concerning decline in active usage of Stack Overflow as a resource.
  • The hosts engage in light-hearted discussions about personal hobbies and interests, fostering community and connection outside of technical topics.

Summary

Dethroning Lodash: The Emergence of ES Toolkit

In this segment, the hosts discuss the rise of ES Toolkit, a utility library that aims to replace the long-established Lodash. ES Toolkit is lauded for its modern implementation using new Web APIs and is said to be significantly smaller and faster than Lodash. With TypeScript support and compatibility with modern frameworks like Dino and Bun, the toolkit offers developers a streamlined alternative. The conversation highlights the historical evolution of utility libraries from Underscore to Lodash and now to ES Toolkit, emphasizing the need for utility functions in JavaScript despite the improved language features over the years.

RPC Showdown: ORPC vs TRPC

The hosts dive into the world of Remote Procedure Calls (RPCs), where they compare ORPC and TRPC. TRPC is described as TypeScript RPC, while ORPC extends this by integrating functions with the OpenAI API, making endpoints easily accessible and documented. The hosts argue that ORPC streamlines API interactions and enhances developer experience, especially for UI-focused applications, while also critiquing the REST architectural style for its limitations.

Insights from the Stack Overflow Developer Survey

The episode features a discussion on key findings from the Stack Overflow Developer Survey that gathers responses from a vast demographic of developers. JavaScript remains a dominant language, with Python gaining significant traction. React, despite new frameworks emerging, continues to lead in popularity. The hosts express concern about the declining usage of Stack Overflow for knowledge sharing, noting that many developers are turning towards AI tools for support and learning.

Lightning News and Personal Happy Updates

In this lively segment, the hosts share rapid-fire updates including a recap of the Bolt hackathon winners and Microsoft's entry into AI-enhanced browsing with Edge. Each host wraps up with personal highlights from their week, such as the fun of playing Monopoly Deal and exploring new 3D printing techniques with Gridfinity.

Sponsors

  • Blue Collar Coder · Thanks as always to our sponsor, the Blue Collar Coder channel on YouTube.

Show notes

There’s a new utility library in town called es-toolkit, and it’s gunning for Lodash. 2-3x faster, 97% smaller, full TypeScript support, and using modern JavaScript APIs, es-toolkit’s just added a “Lodash compatibility layer” to ensure an identical API and 100% Lodash compatibility.

oRPC is the newest wrinkle in the Remote Procedural Call (RPC) world, and it promotes easy to build APIs that are end-to-end type-safe and adhere to OpenAPI standards. 

Stack Overflow’s 15th developer survey results are in, and the learnings are... interesting. Some of the takeaways are expected (React’s still very popular, lots of devs have at least tried AI tools), but some seem willfully wrong (SO claims it’s a new resource for devs that need to solve AI-related issues, but 43% of respondents said they rarely or never visit the site anymore). 

Either way, SO’s use has declined dramatically over the last few years due to the rise of AI, and we’ll see how much longer it can hang on as a vital part of the developer ecosystem.

Timestamps:

  • 0:57 - es-toolkit update
  • 7:46 - oRPC
  • 17:13 - Stack Overflow Developer Survey
  • 31:43 - Bolt hackathon winners
  • 34:11 - Microsoft Edge Copilot Mode
  • 38:46 - State of HTML survey
  • 39:30 - What’s making us happy

Links:

Thanks as always to our sponsor, the Blue Collar Coder channel on YouTube. You can join us in our Discord channel, explore our website and reach us via email, or talk to us on X, Bluesky, or YouTube.

Follow this show on AudioBrevity and new episodes get summarized for you. Create a free account

Couldn't load the audio. A blocker may be stopping the show's tracking links. Open the file