Skip to content

Upgrade to React 19 (v1.0.5) - #32

Merged
dpsiderius merged 1 commit into
mainfrom
upgrade-react-19
Jul 27, 2026
Merged

Upgrade to React 19 (v1.0.5)#32
dpsiderius merged 1 commit into
mainfrom
upgrade-react-19

Conversation

@dpsiderius

Copy link
Copy Markdown
Contributor

Combined React 18 → 19 upgrade, superseding the split Dependabot PRs (#27, #28, #29) that each broke the peer-dependency graph on their own.

Dependency changes

Package From To
react 18.3.1 19.2.8
react-dom 18.3.1 19.2.8
react-konva 18.2.16 19.2.5
@types/react 18.3.3 19.2.17
@types/react-dom 18.3.0 19.2.3

Code compatibility

No source changes were required. The app was already React-19-clean:

  • Entry point uses ReactDOM.createRoot (not the removed render).
  • No defaultProps on function components, no string refs, no legacy context, no findDOMNode.
  • Typed refs (useRef<T>(null)) pass cleanly against @types/react 19.

Verification

  • npm run typecheck (browser) ✓
  • npm run typecheck:node (gateway) ✓
  • npm test → 53 passing ✓
  • npm run build
  • prettier --check
  • npm audit → 0 vulnerabilities ✓
  • Runtime smoke test: loaded the app on the Vite dev server — full UI and the react-konva canvas render with zero console errors/warnings (the key check, since react-konva 19 swaps in a React-19 reconciler).

Also in this release (v1.0.5)

🤖 Generated with Claude Code

- Bump react/react-dom to 19.2, react-konva to 19.2, and matching @types.
  No code changes needed: the app already used createRoot, has no defaultProps
  / string refs / legacy context, and typed refs are React-19-clean.
- Verified: typecheck (browser + node), 53 unit tests, prettier, production
  build, and a runtime smoke test (UI + Konva canvas render, zero console
  errors) all pass on React 19.
- Bump version to 1.0.5.
- Remove CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md (re-applying a
  removal that was lost when #22 merged at a stale head) and correct the
  CHANGELOG accordingly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dpsiderius
dpsiderius merged commit c17fae3 into main Jul 27, 2026
1 check passed
@dpsiderius
dpsiderius deleted the upgrade-react-19 branch July 27, 2026 11:29
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