Next.js Sucks; Or Why I Wrote My Own SSG
pcmaffey.com·7w
🔄Bootstrapping
Preview
Report Post

I went to update my site’s bio this past weekend and wrote a custom static site generator instead.

It’s an itch I’ve wanted to scratch. Ditch Next.js. Convert my blog posts to MDX (JSX in markdown). Autogenerate posts and an RSS feed. Write the layout in React, styles in CSS modules. Output only HTML+CSS, with islands of client-side React progressively hydrated as needed.

I like JSX and the composability of React components. IMO this is why React "won"; it made writing frontend systems easy.

On a Saturday morning in between playing with my kids, I dove in with Opus 4.5. After a few hours of tinker…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help