Files
botsmann/app
g-butandClaude Opus 4.5 15d9fc8162 fix: resolve blog static generation and MDX rendering issues
- Replace `cache: 'no-store'` with ISR revalidation (1 hour) to support
  static generation with `generateStaticParams()`
- Create ServerMDXContent component for proper RSC MDX rendering using
  next-mdx-remote v5's /rsc import
- Update blog post page to use server-side MDX rendering
- Fix "Element type is invalid" error by ensuring MDXRemote is used
  correctly in server component context

The blog now properly generates static pages during build while still
fetching fresh content periodically via ISR.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 21:42:40 +01:00
..