Unit Test 11ty Pages With Vitest and Typescript
A guide to unit testing 11ty (Eleventy) JavaScript/TypeScript templates using Vitest, focusing on testing data and render methods.
A guide to unit testing 11ty (Eleventy) JavaScript/TypeScript templates using Vitest, focusing on testing data and render methods.
Explains the difference between assignment and mutation in JavaScript's const keyword, clarifying why objects declared with const can still be modified.
A tutorial on creating a free, customizable verification checkmark web component using JavaScript and SVG, inspired by Twitter's paid verification.
A guide to writing comments in React JSX, covering standard syntax and alternative JavaScript comment techniques for cleaner code.
React Query v5 will remove useQuery callbacks, exploring API design challenges and the rationale behind breaking changes in library development.
Explores four methods to implement enum-like structures in JavaScript, covering plain objects, Object.freeze(), proxies, and classes.
A step-by-step guide to writing end-to-end tests for a Node.js web API using the new native test runner, without external frameworks.
A technical guide on improving page load times by lazily loading YouTube embeds using JavaScript, IntersectionObserver, and the Plyr library.
Debunks common myths about Node.js, revealing surprising truths about its architecture, async operations, and threading model.
A developer shares their journey in open source, focusing on web security, Node.js contributions, and receiving the GitHub Stars 2023 award.
A developer's analysis of the CommonJS vs. ESM debate in JavaScript, explaining the differences, benefits, and drawbacks of each module system.
Analyzes web technology market share data to show that popular JavaScript frameworks like React and Vue are used by a tiny minority compared to platforms like WordPress.
A developer's real-world example of why website performance and progressive enhancement are critical, especially on slow networks.
A tutorial on building a Li-Fi prototype using Arduino and JavaScript to transmit data via visible light, explaining the conversion of data to binary signals.
Explores JavaScript sandboxing for secure code execution, inspired by Val Town and discussing solutions like vm2, Deno, and V8 Isolates.
A quick JavaScript solution for programmatically breaking text into lines at spaces with a maximum character limit.
A developer's personal recap of side projects, blog posts for work, Advent of Code participation, and tech event sketch notes from the past year.
Explains how to access and use environment variables in JavaScript and Node.js, including differences between CLI and browser environments.
A tutorial on setting up ESLint with Vite and React to catch errors and unused variables in your code.
Analyzes how information asymmetry and marketing of complex JavaScript frameworks have led to a 'market for lemons' in frontend web development.