Skip to content
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

feat!: rename store-based APIs and types in the stores package #213

Merged
merged 2 commits into from
Mar 14, 2025

Conversation

bowheart
Copy link
Collaborator

@affects machines, stores

Description

The current approach of the @zedux/stores package exporting APIs with the same names as the @zedux/atoms package is too unwieldy.

Rename every duplicated export in the @zedux/stores package to be store-specific.

Breaking Changes

Almost every @zedux/stores package export is renamed. It's all very intuitive - atom -> storeAtom, api -> storeApi, etc.

They're all documented in the v2 migration guide (after this PR merges)

@bowheart bowheart merged commit 0453f19 into master Mar 14, 2025
2 checks passed
@bowheart bowheart deleted the josh/store-export-names branch March 14, 2025 13:17
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