
Frontend Development45 min
Vite 8 Build Fails After Upgrade: Causes and Fixes (2026)
Vite 8 swapped Rollup and esbuild for Rolldown and Oxc. Here is why your build fails after upgrading, what was actually removed, and the fix for each error.
Tag
29 posts
Page 1 of 3

Frontend Development45 min
Vite 8 swapped Rollup and esbuild for Rolldown and Oxc. Here is why your build fails after upgrading, what was actually removed, and the fix for each error.
Frontend Development14 min
Build a fully accessible React combobox with react-aria-components 1.19: correct ARIA wiring, keyboard nav, and a real jest-axe + Testing Library suite.
Frontend Development12 min
Cancel a fetch request in JavaScript and React with AbortController: abort on unmount, add a timeout with AbortSignal.timeout, and handle AbortError safely.
Frontend Development10 min
Build type-safe React forms with React Hook Form 7 and Zod 4: zodResolver setup, register vs Controller, and the z.coerce type-error fix. All runnable.
Frontend Development11 min
Optimistic updates in TanStack Query (React Query) with useMutation: cancelQueries, snapshot, setQueryData, and automatic rollback when a request fails.
Frontend Development8 min
Build type-safe React forms with TanStack Form v1 and Zod: form + field validation, async checks, array fields, and submit state. No adapter, all runnable.
Frontend Development11 min
Svelte 5 runes explained with runnable examples: when to use $state, $derived and $effect, when not to use $effect, and how to migrate from Svelte 4 stores.
Frontend Development10 min
Make CSS anchored dropdowns and tooltips flip and hide when they overflow using position-try-fallbacks and @position-try. Runnable 2026 cross-browser guide.
Frontend Development12 min
Prefetch TanStack Query v5 on the server in the Next.js 16 App Router, then hydrate with HydrationBoundary: no spinners, no double fetch. Runnable 2026 guide.
Frontend Development11 min
Enable dark mode in Tailwind CSS v4: the @custom-variant dark snippet, a class toggle with no flash, system theme support, and why dark: stops working.
Frontend Development9 min
React's <ViewTransition> not animating? The four real causes — sync setState, DOM placement, canary-only availability, browser support — and each fix.
Frontend Development15 min
Build a Vite + Tailwind CSS v4 project in 2026: the @theme directive, @custom-variant dark mode, @source paths, custom @utility, no config file.