Skip to content

refactor: restructure internal folder hierarchy and module imports#1

Merged
codeBelt merged 3 commits intomainfrom
react-refactor
Feb 16, 2026
Merged

refactor: restructure internal folder hierarchy and module imports#1
codeBelt merged 3 commits intomainfrom
react-refactor

Conversation

@codeBelt
Copy link
Copy Markdown
Owner

No description provided.

- Moved `useStore` to a dedicated React-specific entry point (`@codebelt/classy-store/react`).
- Updated all internal tests and examples to reflect the new import path.
- Adjusted `package.json` exports and added optional `react` peer dependency.
- Renamed test files for clarity (`useStore` -> `react`).
- Organized `src` into feature-specific subdirectories (e.g., `core`, `react`, `snapshot`, `utils`).
- Adjusted all imports to match the new folder structure.
- Updated tests and documentation to reflect new paths.
- Separated `shallowEqual` and moved it to a dedicated `equality` module with updated tests.
- Organized `src` into feature-specific subdirectories (e.g., `core`, `react`, `snapshot`, `utils`).
- Adjusted all imports to match the new folder structure.
- Updated tests and documentation to reflect new paths.
- Separated `shallowEqual` and moved it to a dedicated `equality` module with updated tests.
@codeBelt codeBelt self-assigned this Feb 16, 2026
@codeBelt codeBelt merged commit 4d371f4 into main Feb 16, 2026
1 check passed
@github-actions github-actions bot mentioned this pull request Feb 16, 2026
@codeBelt codeBelt deleted the react-refactor branch February 16, 2026 02:45
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