Skip to content

refactor: upgrade react-router, react-icons, and react-spinners#158

Merged
magnus-madsen merged 1 commit intomasterfrom
refactor/upgrade-dependencies
Mar 25, 2026
Merged

refactor: upgrade react-router, react-icons, and react-spinners#158
magnus-madsen merged 1 commit intomasterfrom
refactor/upgrade-dependencies

Conversation

@magnus-madsen
Copy link
Member

@magnus-madsen magnus-madsen commented Mar 25, 2026

Summary

  • Upgrade react-router 5 → 7 and react-router-dom 5 → 7, migrating from v5 API (Switch, component/render props) to v7 API (Routes, element prop, relative paths)
  • Upgrade react-icons 4 → 5
  • Upgrade react-spinners 0.15 → 0.17
  • Bootstrap intentionally left at v4

Test plan

  • Verify the site builds (npm run build)
  • Check navigation between all pages works
  • Verify blog sub-routes (/blog/in-defense-of-programming-languages/, etc.) render correctly
  • Confirm icons still render properly across the site

🤖 Generated with Claude Code

…test

Upgrade react-router 5→7, react-icons 4→5, react-spinners 0.15→0.17.
Migrate react-router v5 API to v7: Switch→Routes, component/render→element,
remove explicit exact (now default), use relative paths for nested routes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@magnus-madsen magnus-madsen merged commit 5f73a44 into master Mar 25, 2026
1 check passed
@magnus-madsen magnus-madsen deleted the refactor/upgrade-dependencies branch March 25, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant