Best of ViteAugust 2025

  1. 1
    Article
    Avatar of hnHacker News·40w

    comptime.ts — compile-time expressions for TypeScript

    comptime.ts is a TypeScript compiler that enables compile-time evaluation of expressions marked with 'comptime', moving computations from runtime to build time for performance optimization. It supports Vite and Bun bundlers, offers CLI and API usage, and can handle promises and complex expressions. The tool requires JSON-serializable return values and provides safety warnings about compile-time code execution.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·37w

    How to Build Micro Frontends in React with Vite and Module Federation

    Module Federation enables sharing React components between separate applications at runtime. This comprehensive guide demonstrates setting up a micro frontend architecture using Vite and the @originjs/vite-plugin-federation plugin. It covers creating host and remote applications, configuring module federation, building shareable components, handling TypeScript declarations, and showcasing how remote components can be updated independently without rebuilding the host application.

  3. 3
    Article
    Avatar of laravelLaravel·39w

    Taming JavaScript: The Artisan of the Day Is Evan You

    Evan You, creator of Vue.js and Vite, shared updates on the JavaScript ecosystem at Laracon US 2025. Vue has grown to over 2 million users and 250,000 GitHub stars, with no Vue 4 planned to maintain stability. Key developments include Vapor Mode compilation for 7KB bundle sizes, signals implementation for reactivity, and Vite overtaking Webpack in downloads. His company VoidZero is building a unified Rust-based JavaScript toolchain with Oxc, Rolldown, and Vite Plus, delivering 3x-16x faster production builds as drop-in replacements.

  4. 4
    Article
    Avatar of ergq3auoeReinier·36w

    Build a Complete Babymart E-commerce Website | Part 2: Admin Dashboard Setup with Vite, React Router

    A tutorial series focusing on building an admin dashboard for a baby products e-commerce website. This second part covers setting up the dashboard using React, Vite, and React Router, with Cloudinary integration for image hosting functionality.