ls examples/
examples
Patterns I keep coming back to while wiring Clerk into Next.js 16 and React 19. Each one is a working page, not a writeup.
- react 19what's new in React 19 & 19.2, paired with Clerk (compiler, actions, useOptimistic, view transitions)
- partial hydrationinteractive components that hydrate independently of slow server work
- cache componentsReact cache() + the Next.js 16 use cache directive alongside Clerk server auth
- cache bug reprominimal reproduction of the cacheComponents suspense bug (Clerk PR #7119)
- ppr + nonceverifies Clerk nonce fetching stays isolated so PPR pages can mix cached and dynamic content