Skip to content

Conversation

davidkpiano
Copy link
Member

Added an overload to useSelector that allows you to select the entire snapshot:

// No selector provided, return the entire snapshot
const snapshot = useSelector(store);

Copy link

changeset-bot bot commented Oct 13, 2025

🦋 Changeset detected

Latest commit: 0a346b3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@xstate/store Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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