Best of ViteApril 2026

  1. 1
    Article
    Avatar of railway-blogRailway Blog·5w

    Moving Railway's Frontend Off Next.js

    Railway migrated its entire production frontend from Next.js to Vite + TanStack Router, completing the switch in just two PRs with zero downtime. The motivation was slow builds (10+ minutes, 6 of which were Next.js), heavy reliance on client-side patterns that didn't fit Next.js's server-first model, and hacky layout workarounds on the Pages Router. The migration was split into two phases: first removing all Next.js-specific APIs, then swapping the framework and generating 200+ routes from the original page tree. Nitro was added as the server layer, consolidating redirects, headers, and caching. Results include builds under 2 minutes, instant dev server startup, type-safe routing, and first-class layouts. Trade-offs include losing built-in image optimization (replaced with Fastly) and ecosystem tools like next-seo (replaced with in-house equivalents). TanStack Start's relative immaturity is acknowledged but accepted.

  2. 2
    Article
    Avatar of lnLaravel News·2w

    Interruptible Jobs in Laravel 13.7.0

    Laravel v13.7.0 ships several new features: the Interruptible interface lets queued jobs respond to worker signals like SIGTERM for graceful cleanup, a new WorkerInterrupted event enables observability when workers receive signals, the @fonts Blade directive and Vite::fonts() method add font preload and inline style rendering from Vite font manifests, bulk JSON path assertions (assertJsonPaths/assertJsonMissingPaths) simplify testing multiple response values at once, and SortDirection enum support improves type safety in collection sorting. Additional improvements include LazyCollection keyBy() accepting BackedEnum, an isLocked() method on the Lock class, and enum support across several manager classes.

  3. 3
    Article
    Avatar of astro_sourceAstro·1w

    Astro 6.2

    Astro 6.2 ships several new features: a redesigned SVG optimizer API with a pluggable SvgOptimizer interface (replacing the old svgo flag), an experimental custom logger with built-in JSON output suited for coding agents, and a new getFontFileURL() helper for accessing font data during prerendering (useful for OG image generation with Satori). Minor additions include allowedHosts propagation to adapter preview servers and a new 'jsx' value for compressHTML. The release also previews Astro v7 alpha, which upgrades to Vite 8 and promotes the Rust-based compiler to the default, replacing the previous Go compiler for faster build times.

  4. 4
    Article
    Avatar of frontendmastersFrontend Masters·5w

    What To Know in JavaScript (2026 Edition) – Frontend Masters Blog

    A comprehensive 2026 overview of the JavaScript ecosystem covering ECMAScript 2025 and upcoming ES2026 features (Temporal API, Iterator Helpers, Set methods, RegExp.escape, Promise.try, explicit resource management), major framework updates (React 19, Vue 3.6, Svelte 5), JavaScript runtimes (Node.js native TypeScript, Bun acquired by Anthropic, Deno v2), build tools (Vite v8 with Rolldown, Turbopack as Next.js default), TypeScript v6 and the upcoming Go-based compiler in v7, testing trends (Vitest, Playwright), meta-framework news (Next.js 16, Astro acquired by Cloudflare, Remix going React-free), and npm supply chain security incidents.