Skip to content

Conversation

@aburto22
Copy link
Contributor

Currently, we can only use shallow to compare if our selected values have changed or not in useStore. It seems that there is already an option to pass options.equal to in angular to pass a customer equality function.

This follows this pattern and add a similar object to all other packages.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have only created a test for this in the react-store package. Not sure if I should add a test in every package?

@crutchcorn
Copy link
Member

This looks awesome! Thanks!

@nx-cloud
Copy link

nx-cloud bot commented Oct 10, 2025

View your CI Pipeline Execution ↗ for commit bc5edf9

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 37s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 10s View ↗

☁️ Nx Cloud last updated this comment at 2025-10-10 23:58:13 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 10, 2025

@tanstack/angular-store

npm i https://pkg.pr.new/@tanstack/angular-store@244

@tanstack/react-store

npm i https://pkg.pr.new/@tanstack/react-store@244

@tanstack/solid-store

npm i https://pkg.pr.new/@tanstack/solid-store@244

@tanstack/store

npm i https://pkg.pr.new/@tanstack/store@244

@tanstack/svelte-store

npm i https://pkg.pr.new/@tanstack/svelte-store@244

@tanstack/vue-store

npm i https://pkg.pr.new/@tanstack/vue-store@244

commit: bc5edf9

@crutchcorn crutchcorn merged commit be4f045 into TanStack:main Oct 11, 2025
4 checks passed
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