

Hasty Treat - Handy Utility Functions with Just
Oct 18, 2021
Discover the power of lightweight utility functions with Just, a dependency-free JavaScript library. The hosts explore cool tools like just-safe-set for dynamic properties and a unique type-checking function that outshines classic methods. Learn how these handy utilities simplify coding tasks, catch edge cases, and boost productivity. They also share insights on the importance of pre-written functions and even touch on a Rust library for coding skill enhancement. Get ready to optimize your coding efficiency!
AI Snips
Chapters
Books
Transcript
Episode notes
JustJS: Small and Guilt-Free
- JustJS offers a collection of small, focused, zero-dependency utility functions.
- These provide a guilt-free way to incorporate common functionalities without bloating your project.
JustJS Discovery
- Scott learned about JustJS from Anthony Jones, who pointed out vulnerabilities in outdated Lodash methods.
- This prompted Scott to explore JustJS as a safer, smaller alternative.
Dynamic Object Updates
- Use
just-safe-set
for setting deeply nested object properties dynamically. - This handles complex updates with a simple string path and value.