Why Reproductions are Required
Explains why open source maintainers require minimal reproductions for bug reports and how to create them effectively.
Anthony Fu is an open-source creator and design engineer at NuxtLabs and Vercel, known for building popular tools like Vitest, VueUse, UnoCSS, and Slidev, and for contributing to the Vue, Nuxt, and Vite ecosystems.
51 articles from this blog
Explains why open source maintainers require minimal reproductions for bug reports and how to create them effectively.
A guide for JavaScript library authors on how to package and ship both ESM and CommonJS formats to ensure compatibility during the ecosystem transition.
Explains how to use any icon as pure CSS with UnoCSS, covering DataURI generation, scalability, and color customization.
Introducing UnoCSS, a new on-demand atomic CSS engine designed for performance and flexibility, reimagining utility-first CSS frameworks.
A developer's journey improving icon usage in frontend projects, from PurgeIcons to a new Vite-based universal plugin for on-demand icon components.
A solution for getting __dirname in both ESM and CommonJS modules, useful for TypeScript projects targeting both formats.
Explains how GitHub automatically adds co-authors to commits in squashed pull requests and how to manually add them using GitHub's no-reply email format.
Explains a key limitation of async setup() in Vue Composition API and details the internal mechanism and solutions for lifecycle hooks after await.
Explains a trick to reliably get a Node.js package's root directory by resolving its package.json file.
Explains how to optimize async/await code in JavaScript by parallelizing independent promises and lazy-loading dependencies.
A developer explains how 'Yak Shaving'—the process of tackling tangential tasks—can be a positive motivation for starting and improving open source projects.
A talk on patterns and tips for writing better composable logic in Vue.js, covering Composition API, ref vs reactive, and VueUse utilities.
A talk introducing Vite, a fast next-generation development tool, explaining its speed advantages over bundlers like Webpack and Create React App.
A developer reflects on public drama with Tailwind CSS, apologizes, and shares lessons learned about communication in open source.
Explains how to add TypeScript type checking to configuration files using JSDoc or Vite's defineConfig helper for better developer experience.
A developer criticizes Tailwind CSS for allegedly using Windi CSS's JIT ideas without proper credit, sparking a discussion on open-source ethics.
Explains how to use Vue's InjectionKey utility for type-safe provide/inject patterns, ensuring proper TypeScript inference.
Explains how to fix TypeScript module resolution errors for submodules in multi-entry packages using typesVersions.
A developer shares a workaround to detect if VS Code is using a dark or light theme, as there's no official API for extensions to access theme colors.
Explains how to use JavaScript RegExp with backreferences to accurately match strings with single, double, or backtick quotes.