Featured
Register a denied Consent Mode v2 default ahead of the AdSense script in Next.js, let a certified CMP send the updates, and check the order in the browser.
12 min
Topic 07 / 08 · 04 articles
About this topic
99 words
Frontend engineering at scale is mostly about constraints: every locale must stay in sync, every layout must survive screens from 360 to 1920 pixels, and every third-party script must respect user consent before it runs.
The articles in this topic cover the practical side of building modern web applications with Next.js and React: shipping many languages as a small team, testing responsive layouts systematically, implementing Consent Mode correctly before the first advertisement or analytics call, and keeping performance budgets honest.
Each guide focuses on the mechanism that prevents regressions — tests, checks and conventions — rather than one-off fixes.
Featured
Register a denied Consent Mode v2 default ahead of the AdSense script in Next.js, let a certified CMP send the updates, and check the order in the browser.
12 min
· 11 min
A nonce gives a strict script policy but ends static rendering; a static header keeps pages cached but needs unsafe-inline. How to choose on a Next.js 16 site.
11 min
· 11 min
Derive a width sweep from your own CSS breakpoints, assert no horizontal scroll and 24 px targets in Playwright, and keep screenshots to a reviewed handful.
11 min
· 13 min
Design for a site in eight languages with one maintainer: next-intl routing, ICU plurals, CI checks for broken messages, stale-translation tracking, hreflang.
13 min
· 12 min
Register a denied Consent Mode v2 default ahead of the AdSense script in Next.js, let a certified CMP send the updates, and check the order in the browser.
12 min