Skip to content

Frontend & UI

#nextjs

11 posts tagged #nextjs on DiCodeWeb, from fundamentals to production, newest first.

11 postsUpdated Oct 27, 2026

Posts

Bundle Analysis and Tree Shaking: What's in Your Bundle and Why

How to read a bundle analyzer in 2026 (next analyze, rollup-plugin-visualizer, source-map-explorer), how tree shaking really works with ESM, sideEffects, barrel files and CommonJS, the usual traps like moment and lodash, duplicate dependencies, polyfills, and bundle budgets in CI with size-limit.

Tooling & workflow7 min

Streaming SSR and Suspense: What Actually Happens on the Wire

How streaming HTML works at the protocol level, where to put Suspense boundaries, avoiding waterfalls, selective hydration, Partial Prerendering in Next.js 16, the effect on TTFB, LCP and CLS, proxies that silently buffer your stream, and handling errors after a 200 has already gone out.

Performance9 min

The View Transitions API: Page Transitions and Shared Elements Without a Library

How View Transitions snapshot the page and build a pseudo-element tree, startViewTransition in an SPA, transitions between documents, view-transition-name, view-transition-class and types, a list-to-detail shared element, reduced motion, performance traps, and using React's ViewTransition component in Next.js 16.

Frontend & UI8 min

React Compiler in Practice: Adopting It in a Codebase That Already Ships

What React Compiler actually does, the Rules of React it relies on, the ESLint plugin, incremental rollout with annotation mode and "use no memo", what to do with existing useMemo/useCallback, how to verify it works, common bailouts, third-party libraries and build cost.

Performance9 min

Forms in React 19: action, useActionState, useFormStatus and Server Actions

React 19 brings forms closer to plain HTML: the action prop, pending state, optimistic updates and Server Actions. This post walks through how I build a complete signup form — validated on both sides, with per-field errors, accessible, and working even before JavaScript loads.

Frontend & UI7 min
All tags