Skip to content

Upgrade to React 18 and MobX 6#3

Merged
stefanwille merged 6 commits intomasterfrom
claude/modernize-state-management-EIp2R
Jan 25, 2026
Merged

Upgrade to React 18 and MobX 6#3
stefanwille merged 6 commits intomasterfrom
claude/modernize-state-management-EIp2R

Conversation

@stefanwille
Copy link
Owner

  • Update React and React DOM to ^18.2.0
  • Update @types/react and @types/react-dom to ^18.2.0
  • Update MobX to ^6.12.0 and mobx-react-lite to ^4.0.0
  • Update antd to ^4.24.0 for React 18 compatibility
  • Update @testing-library/react to ^14.0.0

Key changes for React 18 compatibility:

  • Use createRoot API in src/index.tsx
  • Add React.PropsWithChildren for components using children prop

Key changes for MobX 6 compatibility:

  • Add makeObservable(this) to all classes using decorators
  • Convert XState callback methods to arrow functions for proper binding
  • Remove obsolete mobx-react-lite/batchingForReactDom import

- Update React and React DOM to ^18.2.0
- Update @types/react and @types/react-dom to ^18.2.0
- Update MobX to ^6.12.0 and mobx-react-lite to ^4.0.0
- Update antd to ^4.24.0 for React 18 compatibility
- Update @testing-library/react to ^14.0.0

Key changes for React 18 compatibility:
- Use createRoot API in src/index.tsx
- Add React.PropsWithChildren for components using children prop

Key changes for MobX 6 compatibility:
- Add makeObservable(this) to all classes using decorators
- Convert XState callback methods to arrow functions for proper binding
- Remove obsolete mobx-react-lite/batchingForReactDom import
@vercel
Copy link

vercel bot commented Jan 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
pacman-react Ready Ready Preview, Comment Jan 25, 2026 5:17pm

Request Review

- Change deployment URL from Netlify to Vercel in CLAUDE.md
- Update test command in CLAUDE.md for CI compatibility
- Remove obsolete netlify-build script from package.json
- Update project title in README.md to reflect React 18
@stefanwille stefanwille merged commit c82a1d8 into master Jan 25, 2026
3 checks passed
@stefanwille stefanwille deleted the claude/modernize-state-management-EIp2R branch January 25, 2026 17:23
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.

2 participants