An Example of Simplifying a Decade-Old Piece of JavaScript
A developer reflects on a decade-old JavaScript code snippet for toggling R code blocks, comparing jQuery to modern vanilla JS methods like querySelectorAll.
A developer reflects on a decade-old JavaScript code snippet for toggling R code blocks, comparing jQuery to modern vanilla JS methods like querySelectorAll.
Explains the JavaScript Nullish Coalescing Operator (??), its syntax, and how it provides default values for null/undefined variables.
How to fix an undefined import error when calling an API at runtime in an Astro component by moving the import into the script tag.
Explores reactivity patterns in vanilla JavaScript, comparing them to frameworks like Vue and discussing when to use each approach.
Announcing zlFetch's support for FormData and its utilities for converting FormData to objects and query strings.
A guide explaining how the JavaScript modulo operator works, including its practical use case for creating circular arrays.
A guide explaining four different methods to create and work with multiline strings in JavaScript, including template literals and concatenation.
A developer recreates a research project using wireless earbuds' microphones to detect facial touch gestures and control UIs via machine learning in JavaScript.
A developer's pragmatic take on choosing between JavaScript and TypeScript for different project stages, based on personal experience with two large frontend projects.
A developer's critique of TypeScript, arguing its type system can stifle creativity and innovation by making it harder to express functionality than to define types.
Updates to the zlFetch library, a wrapper for the Fetch API, including error handling improvements, debug mode, and instance creation.
Argues that import path aliasing in JavaScript/TypeScript projects is a band-aid for poor codebase architecture and organization.
Announcing the launch of the Magical Dev School student portal, a central hub for accessing programming courses and workshops with new user-friendly features.
A developer uses Knip to identify and remove unused code, dependencies, and files from a Next.js app to improve performance and reduce bundle size.
A developer's analysis of when to write custom code versus using open-source packages, considering maintenance, team skills, and bundle size.
A Redux maintainer shares painful lessons learned migrating packages to ES Modules, covering build tools, configurations, and compatibility issues.
A technical deep dive into how barrel exports in a React app can prevent tree shaking and cause performance issues, with a case study from the Centered app.
A developer investigates and fixes a performance issue in a Next.js app where a massive image file bloats the initial JavaScript bundle, slowing page load.
A developer reflects on how relying on React as the default frontend framework may cause developers to miss out on better, more modern tools and workflows.
A developer shares two summer side projects: an academic paper digest app and a movie selection tool for groups, built to solve personal problems.