Thanks to visit codestin.com
Credit goes to github.com

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);

@changeset-bot
Copy link

changeset-bot bot commented Oct 13, 2025

🦋 Changeset detected

Latest commit: 62a09a7

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

@davidkpiano
Copy link
Member Author

Ping @Andarist @farskid

@davidkpiano davidkpiano merged commit 5854b52 into main Oct 17, 2025
1 check passed
@davidkpiano davidkpiano deleted the davidkpiano/store-selector-identity branch October 17, 2025 15:02
@github-actions github-actions bot mentioned this pull request Oct 17, 2025
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