Skip to content

Instantly share code, notes, and snippets.

View kevinansfield's full-sized avatar

Kevin Ansfield kevinansfield

View GitHub Profile
@kevinansfield
kevinansfield / migration-plan.md
Created October 16, 2025 09:22
Claude Research React 17 migration plan

Gradual React 17 to React 18 Migration Guide for Small Apps

React 18 fully supports class components and enables incremental migration—you don't need to convert everything to hooks immediately. For small apps with dozens of components using legacy React 17 patterns, you can upgrade to React 18 in 1-2 weeks using automated tooling and phased validation, then gradually convert components to functional patterns at your own pace. The key insight: automatic batching, concurrent features, and improved performance work with class components out of the box.

Why it matters: React 18 brings automatic batching (fewer re-renders), concurrent rendering foundations, better SSR with Suspense, and future-proofing—all while maintaining full backward compatibility. Migration effort is low to medium for well-maintained codebases, higher for legacy code using UNSAFE_ lifecycle methods without proper cleanup.

Backstory: Released March 2022, React 18 represents the biggest architectural shift in React's history wi

@kevinansfield
kevinansfield / changelog-3.4.0.md
Last active January 28, 2020 17:55
Changelog 3.4.0
  • b4f129f16 Version bump to 3.4.0 - Kevin Ansfield
  • 561d1f16e Version bump to 3.4.0 - Kevin Ansfield
  • 4e5469131 Updated Ghost-Admin to 3.4.0 - Kevin Ansfield
  • 68e2274d6 Reverted "Integrated Sentry error tracking" - Kevin Ansfield
  • 7b7430cf0 ✨ Added "Complimentary" plan toggle (#1476) - Naz Gargol
  • 25f11bbf1 ✨ Added complimentary member subscription (#11537) - Naz Gargol
  • 07e1a2406 ✨ Added {{price}} helper for formatting stripe amounts (ie. "1935" to "19.35") (#11473) - Naz Gargol
  • 2bc00a375 Removed - Kevin Ansfield
  • [1df1496cd](https://github
@kevinansfield
kevinansfield / changelog-3.1.0.md
Created November 27, 2019 15:02
Changelog 3.1.0
  • c95cf2811 Updated Ghost-Admin to 3.1.0 - Kevin Ansfield
  • a00da7573 Version bump to 3.1.0 - Kevin Ansfield
  • 3e0881c9d Version bump to 3.1.0 - Kevin Ansfield
  • 1737a3fb8 Updated Casper to 3.0.4 - Kevin Ansfield
  • 332820069 Fixed members test - Rish
  • 69c210b5c Fixed permissions fixtures regression test - Kevin Ansfield
  • a30e218c4 Updated post paragraph spacing - Peter Zimon
  • 3cb33abd3 Lock file maintenance - Kevin Ansfield
  • 6bee0d771 Refined editor post title styles - Peter Zimon
  • [201bef31f](https://gi
@kevinansfield
kevinansfield / changelog-3.0.2.md
Created October 30, 2019 11:33
Changelog 3.0.2
  • f153f174d Version bump to 3.0.2 - Kevin Ansfield
  • bddbdd242 Updated Ghost-Admin to 3.0.2 - Kevin Ansfield
  • c65ded66f Updated Casper to 3.0.2 - Kevin Ansfield
  • 48443b790 Version bump to 3.0.2 - Kevin Ansfield
  • 314958cbf Updated dependency @tryghost/url-utils to v0.6.13 - Kevin Ansfield
  • 804afca51 Installed @tryghost/[email protected] - Fabien O'Carroll
  • e9fa11361 Fixed generic card action toolbar height - Peter Zimon
@kevinansfield
kevinansfield / changelog-3.0.1.md
Created October 29, 2019 14:43
Changelog 3.0.1
  • f7f0f1a8c Updated Casper to 3.0.1 - Kevin Ansfield
  • b5571bf5c Version bump to 3.0.1 - Kevin Ansfield
  • a95bb6c5f Updated Ghost-Admin to 3.0.1 - Kevin Ansfield
  • 4cec4e35e Version bump to 3.0.1 - Kevin Ansfield
  • 37e4fd952 Revert "Update dependency @tryghost/url-utils to v0.6.11" - Kevin Ansfield
  • 9b347d6d9 🐛 Fixed 3.0 migration on SQLite with many posts (#11302) - Naz Gargol
  • 4b4294664 Fixed misaligned arrow for Koenig action bar - Peter Zimon
  • 90fc38176 🐛 Fixed editor showing incorrect domain and "unsaved changes" modal for relative links - Kevin Ansfield
  • [64
@kevinansfield
kevinansfield / changelog-2.37.0.md
Created October 14, 2019 13:10
Changelog 2.37.0
  • ceb9284ca Version bump to 2.37.0 - Kevin Ansfield
  • 8e2ed1d5b Updated Ghost-Admin to 2.37.0 - Kevin Ansfield
  • 897ea66a0 Version bump to 2.37.0 - Kevin Ansfield
  • bc8fc566a 🐛 Fixed markdown card content appearing corrupted when editing a post - Kevin Ansfield
  • 1e9d4875f Added new member subscription settings (#11240) - Rishabh Garg
  • c0b3f6def Update ember addons - Renovate Bot
  • 36fef0c9a Remove deprecated ember-cli-htmlbars-inline-precompile dependency - Kevin Ansfield
  • 861684311 Update dependency ember-mocha to v0.16.1 (#1363) - renovate[bot]
  • [f92572b55
@kevinansfield
kevinansfield / changelog-2.35.0.md
Created October 10, 2019 17:39
Changelog 2.35.0
  • 816bec28c Version bump to 2.35.0 - Kevin Ansfield
  • 1705a622d Version bump to 2.35.0 - Kevin Ansfield
  • 0cc8b019d Updated Ghost-Admin to 2.35.0 - Kevin Ansfield
  • c0533b75a Fixed regression tests - Kevin Ansfield
  • 1725f538b Fixed characters being lost at the end of markdown card content - Kevin Ansfield
  • 6b3c4a59b 🐛 Fixed rendering and url transformation of v1 "card-markdown" aliased cards - Kevin Ansfield
  • 583fcf5ae Updated member email font weight - Peter Zimon
  • a998602f4 Updated member avatar initial fontsize - Peter Zimon
  • [772a600a2](https://github.com/Try
@kevinansfield
kevinansfield / changelog-2.34.0.md
Created October 9, 2019 18:00
Changelog 2.34.0
  • e37cb1dce Updated Ghost-Admin to 2.34.0 - Kevin Ansfield
  • 2e91cb09b Version bump to 2.34.0 - Kevin Ansfield
  • 27e77dda8 Version bump to 2.34.0 - Kevin Ansfield
  • cb89703e2 Fixed regression tests - Kevin Ansfield
  • b01bae7c3 🐛 Fixed 500 errors when fetching certain posts via the Admin API - Kevin Ansfield
  • b4548b011 Update dependency gscan to v2.10.0 (#11221) - Naz Gargol
  • 677de7f31 Updated members lab settings design - Rish
  • e7d7d9fdc Added new fromAddress setting for member subscriptions - Rish
  • 47e125b3f
@kevinansfield
kevinansfield / changelog-2.33.0.md
Created October 8, 2019 10:42
Changelog 2.33.0
  • ebe7c1475 Version bump to 2.33.0 - Kevin Ansfield
  • da4588171 Version bump to 2.33.0 - Kevin Ansfield
  • c78496c45 Updated Ghost-Admin to 2.33.0 - Kevin Ansfield
  • d9a0c8732 Fixed error when saving unknown url in bookmark card (#11210) - Rishabh Garg
  • f1ef801b7 🐛 Fixed error when during migration to 2.32.0 on mysql (#11208) - Fabien O'Carroll
@kevinansfield
kevinansfield / changelog-2.32.0.md
Created October 7, 2019 22:46
Changelog 2.32.0
  • fab836a50 Updated Casper to 2.11.2 - Kevin Ansfield
  • d81c3410c Updated Ghost-Admin to 2.32.0 - Kevin Ansfield
  • 7b45fd707 Version bump to 2.32.0 - Kevin Ansfield
  • 5789d4095 Version bump to 2.32.0 - Kevin Ansfield
  • 32f3f9d2c 🐛 Fixed "unsaved changes" modal displaying when post has been saved - Kevin Ansfield
  • 5659678c1 Added loading state for member subscription details - Rish
  • d91f9fb7d Fixed members list sorting - Rish
  • 7a459b1eb Lock file maintenance (#1345) - renovate[bot]
  • cf5d978c3 Update