Skip to content

Migrate from MobX to Jotai #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Migrate from MobX to Jotai #58

wants to merge 9 commits into from

Conversation

arosh
Copy link
Owner

@arosh arosh commented Feb 23, 2025

This pull request includes significant updates to modernize the codebase, improve dependencies, and refactor state management. The most important changes include updating dependencies, refactoring state management from MobX to Jotai, and updating ESLint configuration.

Dependency Updates:

  • package.json: Updated several dependencies, including replacing mobx and mobx-react with jotai, and updating react and react-dom to version 18.x.
  • .github/workflows/build.yml: Updated actions/setup-node to version 4 and changed the node-version to '22.x'.

State Management Refactoring:

ESLint Configuration:

  • .eslintrc.json: Changed the ESLint configuration to extend from react-app instead of airbnb.
  • package.json: Updated ESLint-related dependencies to align with the new configuration.

Other Changes:

  • Removed react-app-rewired and related configurations from config-overrides.js and package.json. [1] [2]
  • Added .repomixignore and repomix.config.json for repository management and configuration. [1] [2]

These changes collectively modernize the codebase, improve maintainability, and align with current best practices.

@arosh
Copy link
Owner Author

arosh commented Feb 27, 2025

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request migrates the project from MobX to Jotai for state management, updates dependencies, and refactors ESLint configuration. The changes appear well-structured and address the objectives outlined in the pull request description. However, there are a few areas where improvements can be made to enhance code clarity and maintainability.

Summary of Findings

Merge Readiness

The pull request is almost ready for merging. The migration from MobX to Jotai seems well-executed. I recommend addressing the feedback provided to improve code clarity and maintainability before merging. I am unable to directly approve this pull request, and recommend that others review and approve this code before merging.

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