Client: no 'use client' on barrels, lazy lightbox viewer, rAF table of contents, Turnstile polling stops, reduced motion, Media eager, 404 placeholder option

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-01 13:51:39 +01:00
co-authored by Claude Opus 5.5
parent 1d6108765c
commit 21073d98d0
17 changed files with 72 additions and 38 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
'use client'
// No 'use client' on this barrel (1.18.0): every component behind it carries its own. A barrel with the
// directive is one client boundary, so a page that imported one export shipped ALL of them (docs/performance.md).
export { ConsentProvider, useConsentContext } from './ConsentContext.js'
export { ConsentScript } from './ConsentScript.js'
export { readEffectiveConsent } from './consentStore.js'